diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile index 03799bcc106..1f09f8de756 100644 --- a/target/linux/apm821xx/image/Makefile +++ b/target/linux/apm821xx/image/Makefile @@ -17,7 +17,8 @@ define Build/boot-img # convert it to revision 1 - needed for u-boot ext2load $(STAGING_DIR_HOST)/bin/tune2fs -O filetype $@.boot - $(STAGING_DIR_HOST)/bin/e2fsck -pDf $@.boot > /dev/null + # Ignore errors because file system was intentionally broken with tune2fs + -$(STAGING_DIR_HOST)/bin/e2fsck -pDf $@.boot > /dev/null endef define Build/boot-script diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile index 819291ef7fc..a7988cf5fbe 100644 --- a/target/linux/gemini/image/Makefile +++ b/target/linux/gemini/image/Makefile @@ -56,7 +56,8 @@ define Build/dns313-images # The device firmware needs revision 1 of EXT2 $(STAGING_DIR_HOST)/bin/tune2fs -O filetype $@.tmp-boot - $(STAGING_DIR_HOST)/bin/e2fsck -pDf $@.tmp-boot > /dev/null + # Ignore errors because file system was intentionally broken with tune2fs + -$(STAGING_DIR_HOST)/bin/e2fsck -pDf $@.tmp-boot > /dev/null ./dns313_gen_hdd_img.sh $@ $@.tmp-boot $(IMAGE_ROOTFS) \ $(CONFIG_TARGET_KERNEL_PARTSIZE) \