summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/distro/openslug.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/distro/openslug.conf b/conf/distro/openslug.conf
index 880790afbf..b8ec8df817 100644
--- a/conf/distro/openslug.conf
+++ b/conf/distro/openslug.conf
@@ -7,7 +7,10 @@ TARGET_OS = "linux-uclibc"
INHERIT += " package_ipk debian nslu2_flashimg"
-IMAGE_FSTYPE = "ext2.gz"
+IMAGE_FSTYPES = "ext2.gz jffs2"
+
+EXTRA_IMAGECMD_ext2.gz = "-f ${IMAGE_DEVICE_TABLE}"
+EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x20000 -D ${IMAGE_DEVICE_TABLE}"
BOOTSTRAP_EXTRA_DEPENDS += "virtual/kernel module-init-tools"
BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-usbnet kernel-module-usbserial \