<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/boot/grub2, branch 2016.08</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.08</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.08'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-07-31T18:19:40+00:00</updated>
<entry>
<title>grub2: fix build with BR2_STRIP_none</title>
<updated>2016-07-31T18:19:40+00:00</updated>
<author>
<name>Charles Hardin</name>
<email>ckhardin@exablox.com</email>
</author>
<published>2016-05-21T20:11:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=fc174b7057495ebb31393ae27f3ceeefdc490022'/>
<id>urn:sha1:fc174b7057495ebb31393ae27f3ceeefdc490022</id>
<content type='text'>
grub2 assumes the strip command will generate output and the output should
always be stripped - so, just use the $(TARGET_CROSS)strip to make sure that
the build succeeds regardless of the buildroot strip configuration.

Signed-off-by: Charles Hardin &lt;ckhardin@exablox.com&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>grub2: add patch to fix build with recent gcc versions</title>
<updated>2016-07-25T20:07:05+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2016-07-25T20:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4770c4ef83f89fc3348fd6df636b0e4adac05d16'/>
<id>urn:sha1:4770c4ef83f89fc3348fd6df636b0e4adac05d16</id>
<content type='text'>
This commit backports a patch from upstream grub2 that fixes a build
issue occuring at least with recent gcc versions:

gettext/gettext.c:37:36: error: storage size of 'main_context' isn't known
 static struct grub_gettext_context main_context, secondary_context;

Fixes bug #8991.

Bug reproduced with:

BR2_x86_64=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_GCC_VERSION_6_X=y
BR2_TARGET_GRUB2=y
BR2_TARGET_GRUB2_X86_64_EFI=y
BR2_TARGET_GRUB2_BUILTIN_MODULES="boot linux ext2 fat squash4 part_msdos part_gpt normal efi_gop terminal"

and verified fixed after adding this patch.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>grub2: rename patch with the proper naming convention</title>
<updated>2016-07-25T19:58:29+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2016-07-25T19:58:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=238761e3903093ef93c26fa9e788be0c4b6ffe52'/>
<id>urn:sha1:238761e3903093ef93c26fa9e788be0c4b6ffe52</id>
<content type='text'>
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>grub2: really disable liblzma</title>
<updated>2016-06-15T21:01:18+00:00</updated>
<author>
<name>Gilles Chanteperdrix</name>
<email>gilles.chanteperdrix@xenomai.org</email>
</author>
<published>2016-06-14T15:11:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b64f7b7eee12e24c70d65250f4c74b6d471ea85b'/>
<id>urn:sha1:b64f7b7eee12e24c70d65250f4c74b6d471ea85b</id>
<content type='text'>
There is no option --enable-liblzma=no in grub2's configure script, so
the only way to disable liblzma support is to pass
ac_cv_lib_lzma_lzma_code=no.

Signed-off-by: Gilles Chanteperdrix &lt;gilles.chanteperdrix@xenomai.org&gt;
Tested-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
[Thomas: expand commit log, as suggested by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>boot/grub2: enable squashfs support by default</title>
<updated>2016-03-29T01:02:05+00:00</updated>
<author>
<name>Gustavo Zacarias</name>
<email>gustavo@zacarias.com.ar</email>
</author>
<published>2016-03-28T21:03:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=09a44ddd447ffcfff7fa4c230785fc4368d3a1e1'/>
<id>urn:sha1:09a44ddd447ffcfff7fa4c230785fc4368d3a1e1</id>
<content type='text'>
Size growth is minimal and generally a non-issue for x86-based
platforms.

Signed-off-by: Gustavo Zacarias &lt;gustavo@zacarias.com.ar&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>boot/grub2: add rootwait to default config</title>
<updated>2016-03-10T21:21:35+00:00</updated>
<author>
<name>Gustavo Zacarias</name>
<email>gustavo@zacarias.com.ar</email>
</author>
<published>2016-03-09T23:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=9284b4aa396adb5d0093d9e67fc1033decdd72d8'/>
<id>urn:sha1:9284b4aa396adb5d0093d9e67fc1033decdd72d8</id>
<content type='text'>
It doesn't hurt, and is useful for removable boot media like a pendrive
that may depend on usb enumeration and isn't available immediately.

Signed-off-by: Gustavo Zacarias &lt;gustavo@zacarias.com.ar&gt;
Reviewed-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>grub2: pass target NM, OBJCOPY and STRIP</title>
<updated>2015-09-20T12:52:19+00:00</updated>
<author>
<name>Arnout Vandecappelle</name>
<email>arnout@mind.be</email>
</author>
<published>2015-09-08T21:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=890c9e761b70f28c2f2d6c4cf389e418c6d2b32c'/>
<id>urn:sha1:890c9e761b70f28c2f2d6c4cf389e418c6d2b32c</id>
<content type='text'>
Fixes https://bugs.busybox.net/show_bug.cgi?id=8256

grub2's build system interprets CC, CFLAGS and CPPFLAGS as for the host
and uses TARGET_CC etc. for the target. However, NM, OBJCOPY and STRIP
are used for the target. We currently pass the host-versions of these
tools as part of $(HOST_CONFIGURE_OPTS).

While we're at it, also pass TARGET_LDFLAGS.

This problem had not been noticed up to now because usually we build on
an x86 machine for the x86 architecture, so the binutils are compatible.
However, this is not true on an i386 when building for x86_64.

Cc: Christophe Bricout &lt;christophebricout@yahoo.fr&gt;
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>grub2: build El Torito image only for i386 PC platform</title>
<updated>2015-07-29T15:03:15+00:00</updated>
<author>
<name>Kinsella, Ray</name>
<email>ray.kinsella@intel.com</email>
</author>
<published>2015-07-29T11:52:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8f609ed603220e0ac0ef9a45b0214eb87ab85d1e'/>
<id>urn:sha1:8f609ed603220e0ac0ef9a45b0214eb87ab85d1e</id>
<content type='text'>
Building Grub2 El Torito for i386 EFI errors complaining it cannot
find cdboot.img

        cdboot.img: No such file or directory

This commit builds El Torito for i386 PC only.

[Thomas: fix installation ordering.]

Signed-off-by: Ray Kinsella &lt;ray.kinsella@intel.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>grub2: prepare and install El Torito image</title>
<updated>2015-06-14T21:24:59+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2015-06-08T22:21:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8decd25477fe5a8bb314e65c9b1a2c9d54bc9124'/>
<id>urn:sha1:8decd25477fe5a8bb314e65c9b1a2c9d54bc9124</id>
<content type='text'>
In order to support ISO9660 bootable images that rely on Grub 2, this
commit modifies thr Grub 2 makefile to generate and install an El
Torito image. Such an image is simply produced by concatenating the
cdboot.img provided by Grub 2, and the Grub 2 image generated by
Buildroot using grub-mkimage.

Since this action is so simple and cost-free, we don't bother adding a
Grub 2 sub-option for that, and simply generate the El Torito image
unconditionally.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Acked-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
</content>
</entry>
<entry>
<title>grub2: add hash</title>
<updated>2015-03-03T20:57:49+00:00</updated>
<author>
<name>Gustavo Zacarias</name>
<email>gustavo@zacarias.com.ar</email>
</author>
<published>2015-03-03T16:13:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=bf554b96022a460d160e8caa272fab853ba20c29'/>
<id>urn:sha1:bf554b96022a460d160e8caa272fab853ba20c29</id>
<content type='text'>
Signed-off-by: Gustavo Zacarias &lt;gustavo@zacarias.com.ar&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
</feed>
