the bbappend is appled for fsl machines
Signed-off-by: Zhenhua Luo <b19537@freescale.com>
--- /dev/null
+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
--- /dev/null
+FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
+
+PR_fsl .= "+${DISTRO}.1"
+
+SRC_URI_append_fsl = " file://auto-detect-hostname.patch;patchdir=../"