grub2 wchar defconfig fixes
v2 cover grub2 wchar defconfig fixes
Since a version bump of grub2 (5ffafd2353f5d67) it requires a toolchain with wide character support. Some defconfigs have lines to build grub2 (BR_TARGET_GRUB2=y) but this doesn't always take place, depending on whether BR2_USE_WCHAR is set. Because of this, some defconfigs will fail to successfully build images.
This v2 cuts out some unnecessary changes from v1 (ie: comments in configs to explicitly note this dependency without any other change) and splits up the remaining changes into individual patches. I did not test the minnowboard change, but the galileo change is tested.
Nicholas Sielicki (2):
configs/galileo: grub2 needs wchar toolchain configs/minnowboard_max-graphical: wchar/grub2 fix
configs/galileo_defconfig | 2 ++ configs/minnowboard_max-graphical_defconfig | 2 ++ 2 files changed, 4 insertions(+)
Signature · 1 line
2.14.1
PATCH v2 1/2 configs/galileo: grub2 needs wchar toolchain
The galileo_defconfig has the line "BR_TARGET_GRUB2=y", but this currently has no effect because BR_TARGET_GRUB2 cannot be selected without BR2_TOOLCHAIN_BUILDROOT_WCHAR=y, which is not set by default.
--- configs/galileo_defconfig | 2 ++ 1 file changed, 2 insertions(+)
configs/galileo_defconfig +2 -0
@@ -1,4 +1,6 @@ BR2_x86_x1000=y +# Needed for TARGET_GRUB2 +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y # Linux headers same as kernel, a 3.14 series BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
Signature · 1 line
2.14.1
PATCH v2 1/2 configs/galileo: grub2 needs wchar toolchain
Hello,
Quoted 8 lines · Nicholas Sielicki
The
galileo_defconfighas the line "BR_TARGET_GRUB2=y", but this currently has no effect becauseBR_TARGET_GRUB2cannot be selected without BR2_TOOLCHAIN_BUILDROOT_WCHAR=y, which is not set by default.Signed-off-by Nicholas Sielicki <[email protected]>--- configs/galileo_defconfig | 2 ++ 1 file changed, 2 insertions(+)
Both applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/2 configs/galileo: grub2 needs wchar toolchain
In reply to Nicholas SielickiQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Nicholas" == Nicholas Sielicki <[email protected]> writes:
The
galileo_defconfighas the line "BR_TARGET_GRUB2=y", but this currently has no effect becauseBR_TARGET_GRUB2cannot be selected without BR2_TOOLCHAIN_BUILDROOT_WCHAR=y, which is not set by default.Signed-off-by Nicholas Sielicki <[email protected]>
Committed to 2017.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 2/2 configs/minnowboard_max-graphical: wchar/grub2 fix
In reply to Nicholas Sielickiminnowboard_max-graphical_defconfig has the line "BR_TARGET_GRUB2=y", but this currently has no effect because BR_TARGET_GRUB2 cannot be selected without BR2_TOOLCHAIN_BUILDROOT_WCHAR=y, which is not set by default.
The minnowboard max defconfig was updated to fix this problem, but the graphical variant was not updated alongside it.
--- configs/minnowboard_max-graphical_defconfig | 2 ++ 1 file changed, 2 insertions(+)
configs/minnowboard_max-graphical_defconfig +2 -0
@@ -6,6 +6,8 @@ BR2_x86_atom=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12=y BR2_TOOLCHAIN_BUILDROOT_LOCALE=y BR2_TOOLCHAIN_BUILDROOT_CXX=y +# needed for TARGET_GRUB2 +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y # System configuration BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
Signature · 1 line
2.14.1
PATCH v2 2/2 configs/minnowboard_max-graphical: wchar/grub2 fix
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Nicholas" == Nicholas Sielicki <[email protected]> writes:
minnowboard_max-graphical_defconfig has the line "BR_TARGET_GRUB2=y", but this currently has no effect because
BR_TARGET_GRUB2cannot be selected without BR2_TOOLCHAIN_BUILDROOT_WCHAR=y, which is not set by default.The minnowboard max defconfig was updated to fix this problem, but the graphical variant was not updated alongside it.
Signed-off-by Nicholas Sielicki <[email protected]>
Committed to 2017.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard