summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-20 19:44:01 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-20 19:44:01 +0000
commitddf7b46c66b130f5cd3ed15709183c0fe5f8188a (patch)
treeb9d8b7e663df81c357eb6aabf0e8faed5724dd08
parenta36eda03cab7dcd78872e03077dddca2aac3499c (diff)
foonas-image: Move preprocessing away
-rw-r--r--packages/images/foonas-image.bb11
1 files changed, 3 insertions, 8 deletions
diff --git a/packages/images/foonas-image.bb b/packages/images/foonas-image.bb
index db5ff198fc..8dc2370b5e 100644
--- a/packages/images/foonas-image.bb
+++ b/packages/images/foonas-image.bb
@@ -2,15 +2,11 @@ DESCRIPTION = "Foonas image"
LICENSE = "GPL"
PR = "r0"
-inherit image
+inherit image n2100-image turbostation-image lsppchg-image lsppchd-image storcenter-image
DEPENDS = "${MACHINE_TASK_PROVIDER} makedevs-native mtd-utils-native"
-IMAGE_PREPROCESS_COMMAND += "sed -i -es,^id:5:initdefault:,id:3:initdefault:, ${IMAGE_ROOTFS}/etc/inittab;"
-IMAGE_PREPROCESS_COMMAND += "sed -i -es,^root::0,root:BTMzOOAQfESg6:0, ${IMAGE_ROOTFS}/etc/passwd;"
-IMAGE_PREPROCESS_COMMAND += "sed -i -es,^VERBOSE=no,VERBOSE=very, ${IMAGE_ROOTFS}/etc/default/rcS;"
-FOONAS_DEVICE_TABLE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/device_table-slugos.txt')}"
-EXTRA_IMAGECMD_jffs2 += " --eraseblock=${ERASEBLOCK_SIZE} -D ${FOONAS_DEVICE_TABLE}"
+EXTRA_IMAGECMD_jffs2 += " --pad --eraseblock=${ERASEBLOCK_SIZE} -D ${FOONAS_DEVICE_TABLE}"
IMAGE_LINGUAS = ""
RDEPENDS = " \
@@ -20,11 +16,10 @@ RDEPENDS = " \
module-init-tools-depmod modutils-initscripts \
ipkg-collateral ipkg ipkg-link \
libgcc1 diffutils cpio findutils\
- portmap dropbear e2fsprogs-blkid \
+ dropbear e2fsprogs-blkid \
mdadm hdparm mtd-utils udev \
${FOONAS_SUPPORT} \
${FOONAS_KERNEL} "
PACKAGE_INSTALL = "${RDEPENDS}"
-inherit n2100-image turbostation-image lsppchg-image lsppchd-image \ No newline at end of file