mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
add 0xdeadc0de to the jffs2 filesystem images
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4048 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
10161b7a90
commit
826e52c483
@ -17,6 +17,10 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
|||||||
|
|
||||||
$(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x10000 -o $(KDIR)/root.jffs2-64k -d $(BUILD_DIR)/root
|
$(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x10000 -o $(KDIR)/root.jffs2-64k -d $(BUILD_DIR)/root
|
||||||
$(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x20000 -o $(KDIR)/root.jffs2-128k -d $(BUILD_DIR)/root
|
$(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x20000 -o $(KDIR)/root.jffs2-128k -d $(BUILD_DIR)/root
|
||||||
|
|
||||||
|
# add End-of-Filesystem markers
|
||||||
|
echo -ne '\xde\xad\xc0\xde' >> $(KDIR)/root.jffs2-64k
|
||||||
|
echo -ne '\xde\xad\xc0\xde' >> $(KDIR)/root.jffs2-128k
|
||||||
|
|
||||||
$(call Image/Build,jffs2-64k)
|
$(call Image/Build,jffs2-64k)
|
||||||
$(call Image/Build,jffs2-128k)
|
$(call Image/Build,jffs2-128k)
|
||||||
|
Loading…
Reference in New Issue
Block a user