Return-Path: Received: from co1outboundpool.messaging.microsoft.com (co1ehsobe005.messaging.microsoft.com [216.32.180.188]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CC0B2E014D6 for ; Fri, 8 Mar 2013 19:30:29 -0800 (PST) Received: from mail123-co1-R.bigfish.com (10.243.78.228) by CO1EHSOBE002.bigfish.com (10.243.66.65) with Microsoft SMTP Server id 14.1.225.23; Sat, 9 Mar 2013 03:30:29 +0000 Received: from mail123-co1 (localhost [127.0.0.1]) by mail123-co1-R.bigfish.com (Postfix) with ESMTP id 5FADF2002EB for ; Sat, 9 Mar 2013 03:30:29 +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 mail123-co1 (localhost.localdomain [127.0.0.1]) by mail123-co1 (MessageSwitch) id 1362799826342004_9019; Sat, 9 Mar 2013 03:30:26 +0000 (UTC) Received: from CO1EHSMHS032.bigfish.com (unknown [10.243.78.231]) by mail123-co1.bigfish.com (Postfix) with ESMTP id 502D76008ED for ; Sat, 9 Mar 2013 03:30:26 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO1EHSMHS032.bigfish.com (10.243.66.42) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sat, 9 Mar 2013 03:30:26 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server (TLS) id 14.2.328.11; Sat, 9 Mar 2013 03:30:25 +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 r293UDn3028716; Fri, 8 Mar 2013 20:30:23 -0700 From: To: Date: Sat, 9 Mar 2013 11:30:08 +0800 Message-ID: <1362799812-16444-5-git-send-email-b28495@freescale.com> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1362799812-16444-1-git-send-email-b28495@freescale.com> References: <1362799812-16444-1-git-send-email-b28495@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [meta-fsl-ppc][PATCH v4 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 03:30:30 -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