summaryrefslogtreecommitdiff
path: root/packages/images/foonas-image.bb
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-18 23:06:40 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-18 23:06:40 +0000
commit2225bb697129c9be8ca2b79f7930798bf9f72167 (patch)
tree1b3468290463bfdd43a0eb9db8bd0c0a82992729 /packages/images/foonas-image.bb
parent7d06b64ec9dbab07b8f95febb8886eb168d2b27c (diff)
foonas: Update image config, move crap from distro config
Diffstat (limited to 'packages/images/foonas-image.bb')
-rw-r--r--packages/images/foonas-image.bb18
1 files changed, 15 insertions, 3 deletions
diff --git a/packages/images/foonas-image.bb b/packages/images/foonas-image.bb
index 3d2c621438..efb10335e8 100644
--- a/packages/images/foonas-image.bb
+++ b/packages/images/foonas-image.bb
@@ -5,12 +5,24 @@ PR = "r0"
inherit image
DEPENDS = "${MACHINE_TASK_PROVIDER} makedevs-native mtd-utils-native"
+
+# Various defines for Thecus N2100
DEPENDS_n2100 += "openssl-native"
+EXTRA_IMAGECMD_n2100 = "--little-endian"
+ERASEBLOCK_SIZE_n2100 = "0x20000"
+IMAGE_FSTYPES_n2100 = "jffs2"
+IMAGE_POSTPROCESS_COMMAND_n2100 += '${MACHINE}_pack_image;'
+
+# Various defines for QNAP Turbostation TS[12]01
+EXTRA_IMAGECMD_turbostation = "--big-endian"
+ERASEBLOCK_SIZE_turbostation = "0x20000"
+IMAGE_FSTYPES_turbostation = "jffs2"
+IMAGE_POSTPROCESS_COMMAND_turbostation += '${MACHINE}_pack_image;'
+# Various defines for Buffalo Linkstations
+IMAGE_POSTPROCESS_COMMAND_lsppchd += ""
+IMAGE_POSTPROCESS_COMMAND_lsppchg += "${IMAGE_POSTPROCESS_COMMAND_lsppchd}"
-IMAGE_POSTPROCESS_COMMAND += "${PACK_IMAGE}"
-PACK_IMAGE_DEPENDS = ""
-PACK_IMAGE = '${MACHINE}_pack_image;'
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;"