buildroot中的grub打上ext4支持

需要使用这里的补丁

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511121

ext4_support.diff
ext4_fix_variable_sized_inodes.diff

 

要注意打这两个补丁要放在最后

define GRUB_EXT4_PATCHES
        support/scripts/apply-patches.sh $(@D) $($(PKG)_DIR_PREFIX)/$(RAWNAME)/ext4/
endef

GRUB_POST_PATCH_HOOKS += GRUB_DEBIAN_PATCHES
GRUB_POST_PATCH_HOOKS += GRUB_EXT4_PATCHES

你可能感兴趣的:(Build)