Patchwork [meta-fsl-ppc,v5,4/8] sysvinit: remove SDK specific bits

login
register
mail settings
Submitter Ting Liu
Date March 9, 2013, 3:31 p.m.
Message ID <1362843123-18078-5-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/45803/
State Not Applicable
Delegated to: Matthew McClintock
Headers show

Comments

Ting Liu - March 9, 2013, 3:31 p.m.
From: Ting Liu <b28495@freescale.com>

This is fsl SDK specific, and was recommended to go to SDK layer:
http://patches.openembedded.org/patch/34623/

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 .../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

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=../"