Return-Path: Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe005.messaging.microsoft.com [207.46.163.28]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1B09CE014F9 for ; Sat, 9 Mar 2013 07:32:25 -0800 (PST) Received: from mail111-co9-R.bigfish.com (10.236.132.247) by CO9EHSOBE029.bigfish.com (10.236.130.92) with Microsoft SMTP Server id 14.1.225.23; Sat, 9 Mar 2013 15:32:24 +0000 Received: from mail111-co9 (localhost [127.0.0.1]) by mail111-co9-R.bigfish.com (Postfix) with ESMTP id 8ECCA680259 for ; Sat, 9 Mar 2013 15:32:24 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1f42h1ee6h1de0h1202h1e76h1d1ah1d2ahzz17326ah8275dh8275bhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1155h) Received: from mail111-co9 (localhost.localdomain [127.0.0.1]) by mail111-co9 (MessageSwitch) id 1362843142349336_15541; Sat, 9 Mar 2013 15:32:22 +0000 (UTC) Received: from CO9EHSMHS008.bigfish.com (unknown [10.236.132.247]) by mail111-co9.bigfish.com (Postfix) with ESMTP id 529E99C005C for ; Sat, 9 Mar 2013 15:32:22 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO9EHSMHS008.bigfish.com (10.236.130.18) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sat, 9 Mar 2013 15:32:15 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.2.328.11; Sat, 9 Mar 2013 15:32:13 +0000 Received: from b28495.ap.freescale.net (udp143739uds.ap.freescale.net [10.192.208.202]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r29FW3rs027885; Sat, 9 Mar 2013 08:32:12 -0700 From: To: Date: Sat, 9 Mar 2013 23:31:59 +0800 Message-ID: <1362843123-18078-5-git-send-email-b28495@freescale.com> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1362843123-18078-1-git-send-email-b28495@freescale.com> References: <1362843123-18078-1-git-send-email-b28495@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [meta-fsl-ppc][PATCH v5 4/8] sysvinit: remove SDK specific bits X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Mar 2013 15:32:25 -0000 Content-Type: text/plain From: Ting Liu This is fsl SDK specific, and was recommended to go to SDK layer: http://patches.openembedded.org/patch/34623/ Signed-off-by: Ting Liu --- .../sysvinit/files/auto-detect-hostname.patch | 16 ---------------- recipes-append/sysvinit/sysvinit_2.88dsf.bbappend | 5 +---- 2 files changed, 1 insertions(+), 20 deletions(-) delete mode 100644 recipes-append/sysvinit/files/auto-detect-hostname.patch diff --git a/recipes-append/sysvinit/files/auto-detect-hostname.patch b/recipes-append/sysvinit/files/auto-detect-hostname.patch deleted file mode 100644 index da70184..0000000 --- a/recipes-append/sysvinit/files/auto-detect-hostname.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/rcS b/rcS -index 080b04f..51425ff 100755 ---- a/rcS -+++ b/rcS -@@ -22,6 +22,11 @@ export PATH runlevel prevlevel - . /etc/default/rcS - - # -+# Update the hostname according to actual board type -+# -+echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"` > /etc/hostname -+ -+# - # Trap CTRL-C &c only in this shell so we can interrupt subprocesses. - # - trap ":" INT QUIT TSTP diff --git a/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend b/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend index 9c9dc75..8445337 100644 --- a/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend +++ b/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend @@ -1,5 +1,2 @@ -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" +PRINC := "${@int(PRINC) + 1}" -PR_fsl .= "+${DISTRO}.1" - -SRC_URI_append_fsl = " file://auto-detect-hostname.patch;patchdir=../" -- 1.7.3.4