add missing init=/etc/preinit cmdline parameter
authorFelix Fietkau <nbd@openwrt.org>
Mon, 5 Mar 2007 00:38:37 +0000 (00:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 5 Mar 2007 00:38:37 +0000 (00:38 +0000)
SVN-Revision: 6523

target/linux/x86-2.6/image/Makefile

index 9c26d6851ceb69efde33375cf5d976c1c0d90626..c5a216325674c4b9fe48ce1c1932f3507e7cc76e 100644 (file)
@@ -27,11 +27,11 @@ ifeq ($(CONFIG_X86_GRUB_IMAGES),y)
   endef
 
   define Image/cmdline/jffs2-64k
-    block2mtd.block2mtd=$(ROOTPART),65536,rootfs root=/dev/mtdblock0 rootfstype=jffs2
+    block2mtd.block2mtd=$(ROOTPART),65536,rootfs root=/dev/mtdblock0 rootfstype=jffs2 init=/etc/preinit
   endef
 
   define Image/cmdline/jffs2-128k
-    block2mtd.block2mtd=$(ROOTPART),131072,rootfs root=/dev/mtdblock0 rootfstype=jffs2
+    block2mtd.block2mtd=$(ROOTPART),131072,rootfs root=/dev/mtdblock0 rootfstype=jffs2 init=/etc/preinit
   endef
 
   define Image/cmdline/ext2