summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <b28495@freescale.com>2013-03-08 15:28:31 +0000
committerMatthew McClintock <msm-oss@mcclintock.net>2013-03-08 18:01:35 -0600
commit6a36408201f40a460ace4e84669ad7c762e6c457 (patch)
treec152b40cf284737731a24fbbf27989e79913ca97
parent54c4da0a46ec4b8752ff67da31fe626d783d432b (diff)
downloadmeta-fsl-ppc-6a36408201f40a460ace4e84669ad7c762e6c457.tar.gz
sysvinit: remove SDK specific bits
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>
-rw-r--r--recipes-append/sysvinit/files/auto-detect-hostname.patch16
-rw-r--r--recipes-append/sysvinit/sysvinit_2.88dsf.bbappend5
2 files changed, 1 insertions, 20 deletions
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 @@
1diff --git a/rcS b/rcS
2index 080b04f..51425ff 100755
3--- a/rcS
4+++ b/rcS
5@@ -22,6 +22,11 @@ export PATH runlevel prevlevel
6 . /etc/default/rcS
7
8 #
9+# Update the hostname according to actual board type
10+#
11+echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"` > /etc/hostname
12+
13+#
14 # Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
15 #
16 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 @@
1FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" 1PRINC := "${@int(PRINC) + 1}"
2 2
3PR_fsl .= "+${DISTRO}.1"
4
5SRC_URI_append_fsl = " file://auto-detect-hostname.patch;patchdir=../"