summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-20 19:39:12 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-20 19:39:12 +0000
commitbdbeafd6707c45f347b98c43c91236c48fc2d8c8 (patch)
tree4be66eb289d4eb8f1e69190c539937f1d5d7d21f /conf
parente4dd6ef9c80c6a74d542a24697467a4a766b98fb (diff)
foonas: Update config, moving more stuff away from foonas-image.bb
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/foonas.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/distro/foonas.conf b/conf/distro/foonas.conf
index b43090202d..d21e5cfe6f 100644
--- a/conf/distro/foonas.conf
+++ b/conf/distro/foonas.conf
@@ -1,3 +1,4 @@
+
#
# FooNAS distribution - a NAS-centric distribution
# based on openprotium
@@ -20,6 +21,12 @@ FOONAS_KERNEL_n2100 = "kernel-module-ext2 kernel-module-usb-storage"
FOONAS_SUPPORT_n2100 += "fis"
BOOTSTRAP_EXTRA_RDEPENDS_n2100 = "udev mdadm"
+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')}"
+
+
# Various defines for QNAP Turbostation
FOONAS_KERNEL_turbostation = "kernel-module-ext3 kernel-module-minix \
kernel-module-usb-storage"
@@ -36,6 +43,8 @@ FOONAS_SUPPORT_lsppchg = ${FOONAS_SUPPORT_lsppchd}
IMAGE_FSTYPES_lsppchd = "tar.gz"
IMAGE_FSTYPES_lsppchg = ${IMAGE_FSTYPES_lsppchd}
+IMAGE_POSTPROCESS_COMMAND += '${MACHINE}_pack_image;'
+
#
# Naming schemes
#