Browse Source

brcm47xx: fix padding of trx images, padjffs2 does not work properly on empty files by default

SVN-Revision: 28125
Felix Fietkau 14 years ago
parent
commit
24dfe525c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/brcm47xx/image/Makefile

+ 1 - 1
target/linux/brcm47xx/image/Makefile

@@ -20,7 +20,7 @@ define Image/Prepare
 		clean install
 	echo -ne "\\x00" >> $(KDIR)/loader.gz
 	rm -f $(KDIR)/fs_mark
-	touch $(KDIR)/fs_mark
+	echo -ne '\xde\xad\xc0\xde' > $(KDIR)/fs_mark
 	$(call prepare_generic_squashfs,$(KDIR)/fs_mark)
 endef