summaryrefslogtreecommitdiff
path: root/conf/distro/unslung.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/distro/unslung.conf')
-rw-r--r--conf/distro/unslung.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/conf/distro/unslung.conf b/conf/distro/unslung.conf
index ad4c3eea70..b005eb398f 100644
--- a/conf/distro/unslung.conf
+++ b/conf/distro/unslung.conf
@@ -7,7 +7,11 @@ TARGET_OS = "linux"
INHERIT += " package_ipk nslu2_flashimg"
-IMAGE_FSTYPE = "ext2.gz"
+IMAGE_FSTYPES = "ext2.gz jffs2"
+
+UNSLUNG_DEVICE_TABLE = "${@oe.which(oe.data.getVar('OEPATH', d, 1), 'files/device_table-unslung.txt')}"
+EXTRA_IMAGECMD_ext2.gz = "-f ${UNSLUNG_DEVICE_TABLE}"
+EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x20000 -D ${UNSLUNG_DEVICE_TABLE}"
UNSLUNG_EXTRA_PACKAGES +=