summaryrefslogtreecommitdiff
path: root/classes/lsppchd-image.bbclass
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-26 23:07:52 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-26 23:07:52 +0000
commit48c9a98908284963902fc29b4c47aed668bd5432 (patch)
treecf8c5af5153bacd9ed180acfed8945411238ee61 /classes/lsppchd-image.bbclass
parent20541a166c40e317a61c118d0a022c267fd0e257 (diff)
update n2100, lsppchg and lspphcd images
Diffstat (limited to 'classes/lsppchd-image.bbclass')
-rw-r--r--classes/lsppchd-image.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/lsppchd-image.bbclass b/classes/lsppchd-image.bbclass
index 6aab20127a..bb150c7e15 100644
--- a/classes/lsppchd-image.bbclass
+++ b/classes/lsppchd-image.bbclass
@@ -1,3 +1,8 @@
+IMAGE_PREPROCESS_COMMAND_lsppchd += "export KPATH=`ls -tr ${IMAGE_ROOTFS}/boot/uImage-* | tail -1`; ln -sf /boot/${KPATH##*/} ${IMAGE_ROOTFS}/boot/uImage;"
+IMAGE_PREPROCESS_COMMAND_lsppchd += "sed -i -es,^id:5:initdefault:,id:3:initdefault:, ${IMAGE_ROOTFS}/etc/inittab;"
+IMAGE_PREPROCESS_COMMAND_lsppchd += "sed -i -es,^root::0,root:BTMzOOAQfESg6:0, ${IMAGE_ROOTFS}/etc/passwd;"
+IMAGE_PREPROCESS_COMMAND_lsppchd += "sed -i -es,^VERBOSE=no,VERBOSE=very, ${IMAGE_ROOTFS}/etc/default/rcS;"
+
lsppchd_pack_image() {
:
-} \ No newline at end of file
+}