Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't turn ext2 image into an ext4 image

If we want to use the image as an initramfs we have to use ext2
  • Loading branch information...
commit b0ed756f858dafdf56c6ff935a6de8bb00689bd8 1 parent edefab0
@larsclausen larsclausen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 include/image.mk
View
4 include/image.mk
@@ -124,9 +124,9 @@ ifneq ($(CONFIG_TARGET_ROOTFS_EXT4FS),)
# generate an ext2 fs
$(STAGING_DIR_HOST)/bin/genext2fs -U -b $(E2SIZE) -N $(CONFIG_TARGET_ROOTFS_MAXINODE) -d $(TARGET_DIR)/ $(KDIR)/root.ext4
# convert it to ext4
- $(STAGING_DIR_HOST)/bin/tune2fs -O extents,uninit_bg,dir_index $(KDIR)/root.ext4
+# $(STAGING_DIR_HOST)/bin/tune2fs -O extents,uninit_bg,dir_index $(KDIR)/root.ext4
# fix it up
- $(STAGING_DIR_HOST)/bin/e2fsck -fy $(KDIR)/root.ext4
+# $(STAGING_DIR_HOST)/bin/e2fsck -fy $(KDIR)/root.ext4
$(call Image/Build,ext4)
endef
endif
Please sign in to comment.
Something went wrong with that request. Please try again.