Skip to content

Commit

Permalink
Don't turn ext2 image into an ext4 image
Browse files Browse the repository at this point in the history
If we want to use the image as an initramfs we have to use ext2
  • Loading branch information
larsclausen committed Jul 27, 2011
1 parent edefab0 commit b0ed756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/image.mk
Expand Up @@ -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
Expand Down

0 comments on commit b0ed756

Please sign in to comment.