]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
grub2: fix do_configure failure when largefile is not in DISTRO_FEATURES ChenQi/grub2-largefile
authorChen Qi <Qi.Chen@windriver.com>
Thu, 7 Apr 2016 09:05:50 +0000 (17:05 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Thu, 7 Apr 2016 09:21:33 +0000 (17:21 +0800)
commitca141106b28e9f213b0965de589507300ccbbca3
treeaef833815c2af40bbc2e0758f1b15d2da968a442
parent5ebea1114d54120d5ff5d8a6cd148110d0fda23f
grub2: fix do_configure failure when largefile is not in DISTRO_FEATURES

When 'largefile' is not in DISTRO_FEATURES, '--disable-largefile' is passed
to the configure options. However, the configure script checks the size
of off_t regardless of this option. This raises the following error.

  configure: error: Large file support is required

This patch fixes the above problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-bsp/grub/files/0001-configure.ac-support-disabling-largefile.patch [new file with mode: 0644]
meta/recipes-bsp/grub/grub2.inc