<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-bsp/grub/grub2.inc, branch yocto-2.6.3</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-2.6.3</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-2.6.3'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2019-02-06T16:38:30+00:00</updated>
<entry>
<title>grub2: Fix passing null to printf formats</title>
<updated>2019-02-06T16:38:30+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2018-12-26T20:09:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9c0e458e7b4bd9b2ad7ab2286ecc422148b0174e'/>
<id>urn:sha1:9c0e458e7b4bd9b2ad7ab2286ecc422148b0174e</id>
<content type='text'>
Backport a patch that helps with this error which is found
by gcc9

(From OE-Core rev: 93419fb569b827056a422614d3dc29cd41b2b6bb)

(From OE-Core rev: 47731b43e6d287b3b03347ae94b99dea515d9a56)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>grub2.inc: set GRUBPLATFORM_arm to efi</title>
<updated>2018-07-26T12:16:41+00:00</updated>
<author>
<name>Mingli Yu</name>
<email>Mingli.Yu@windriver.com</email>
</author>
<published>2018-07-23T07:37:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=29537ac86ae0ebbbef4b7e0474716e7196d3abda'/>
<id>urn:sha1:29537ac86ae0ebbbef4b7e0474716e7196d3abda</id>
<content type='text'>
* grub-efi support on arm is enabled as below
  commit:
  commit 65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7
  Author: Kristian Amlie &lt;kristian.amlie@northern.tech&gt;
  Date:   Tue Jul 10 16:07:12 2018 +0200

     grub-efi: Provide target architecture for 32-bit ARM.

* But it fails on arm as below:
  | grub-mkimage: error: cannot open `./grub-core//serial.mod': No such file or directory.

  Set GRUBPLATFORM_arm = "efi" to fix the above error

(From OE-Core rev: 6ad431974d96aec29d12079be8b94c479b91c446)

Signed-off-by: Mingli Yu &lt;Mingli.Yu@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>grub: fix build with new binutils</title>
<updated>2018-07-26T12:16:40+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-07-18T12:24:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9245162e8bfc346c97d8e6c2ee5b77fc2c4bde92'/>
<id>urn:sha1:9245162e8bfc346c97d8e6c2ee5b77fc2c4bde92</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>grub2: fix build with gcc8</title>
<updated>2018-05-11T06:49:38+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2018-05-09T18:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5e8ba36be5d06274cb3e04290cd5c452ba49a941'/>
<id>urn:sha1:5e8ba36be5d06274cb3e04290cd5c452ba49a941</id>
<content type='text'>
(From OE-Core rev: 3eca7aa8196ef8ed682659ff47f3f1e3b2c6867d)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>grub: Fix device mapper dependency</title>
<updated>2018-01-22T10:39:09+00:00</updated>
<author>
<name>Robert Joslyn</name>
<email>robert_joslyn@selinc.com</email>
</author>
<published>2018-01-17T21:12:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9bfe9dadfe929c9d1d15008597ef9d49be4c0fe4'/>
<id>urn:sha1:9bfe9dadfe929c9d1d15008597ef9d49be4c0fe4</id>
<content type='text'>
The lvm2 recipe in meta-oe was split, so the libdevmapper library is
provided by the libdevmapper recipe rather than lvm2.

(From OE-Core rev: 68a3ae195998f96e2d8678a6a3733117d490787d)

Signed-off-by: Robert Joslyn &lt;robert_joslyn@selinc.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>grub/grub-efi: fix conflict</title>
<updated>2018-01-19T12:37:14+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2018-01-17T08:25:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4e9bb03238af48c70075037a77094a8c1bddf284'/>
<id>urn:sha1:4e9bb03238af48c70075037a77094a8c1bddf284</id>
<content type='text'>
While installing grub and grub-efi, there are conflict files
in ${sysconfdir} ${datadir} ${bindir} ${sbindir}.

- Since all of the conflicted files are tools which is
  common for grub and grub-efi, we split them (except
  grub-editenv) to grub-common in grub.

- The package grub-common runtime depends grub-editenv

- The package grub-editenv runtime provides grub-efi-editenv

- Remove SYSROOT_DIRS_BLACKLIST

- The recipe grub-efi does not generate the duplicated files
  and use runtime depends grub-common to instead

Debian and Fedora do the similar thing.

Debian use a common package grub-common for both of pc bios and efi,
and use package grub-pc-bin for pc bios, grub-efi-amd64-bin for efi.
Both of grub-pc-bin and grub-efi-amd64-bin requires grub-common.
https://packages.debian.org/sid/grub-common
https://packages.debian.org/jessie/grub-pc-bin
https://packages.debian.org/jessie/grub-efi-amd64-bin

Fedora use a common package grub2-tools for both of pc bios and efi,
and use package grub2 for pc bios, grub2-efi-modules for efi.
Both of grub2 and grub2-efi-modules requires grub2-tools.
https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-tools-2.02-0.34.fc24.x86_64.html
https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-2.02-0.34.fc24.x86_64.html
https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-efi-modules-2.02-0.34.fc24.x86_64.html

[YOCTO #11639]

(From OE-Core rev: 6fd0bc313c6035b7de5b7a62cbbcd1d6f546c7f9)

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>grub: Move grub-editenv packaging to grub2.inc</title>
<updated>2017-12-10T22:45:19+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2017-12-01T13:02:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5719b37bcd25322b8d764b12b65e57877205cffb'/>
<id>urn:sha1:5719b37bcd25322b8d764b12b65e57877205cffb</id>
<content type='text'>
The editenv utility must be available on grub and grub-efi so we
better have it inside the grub2.inc file to avoid the duplication of
metadata.

(From OE-Core rev: ebdd054ad85b19d47dd20eab0ba3f31ef5141140)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>grub2: fix build on gcc where _FORTIFY_SOURCE is defined</title>
<updated>2017-08-23T07:47:03+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2017-08-22T22:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ed52aa9e79d713c79aff787bcf3ac9168970f4ac'/>
<id>urn:sha1:ed52aa9e79d713c79aff787bcf3ac9168970f4ac</id>
<content type='text'>
* e.g. with gentoo gcc-7.1 they define _FORTIFY_SOURCE by default with:
  https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/gcc/7.1.0/gentoo/10_all_default-fortify-source.patch?view=markup
  which results in following error while building grub-efi-native:
  ./config-util.h:1504:48: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
               || (defined _FORTIFY_SOURCE &amp;&amp; 0 &lt; _FORTIFY_SOURCE \
                                                  ^~~~~~~~~~~~~~~
  this part comes from gnulib and it's used only for Apple and BSD,
  so we can ignore it, but we cannot add -Wno-error=expansion-to-defined
  because this warning was introduced only in gcc-7 and older gcc
  will fail with:
  cc1: error: -Werror=expansion-to-defined: no option -Wexpansion-to-defined
  use #pragma to work around this

(From OE-Core rev: f5302b0ad2942f7705d46c33949ebc1c5ddf3f58)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>grub: fix 0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch missing</title>
<updated>2017-06-28T14:52:19+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2017-06-22T02:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2a3071df6f9a817106ed08e4d86edef0aadf5827'/>
<id>urn:sha1:2a3071df6f9a817106ed08e4d86edef0aadf5827</id>
<content type='text'>
Since grub upgraded to 2.02, it forgot to aplly
0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch.
...
commit 4f27e4042dfb39caa71c7c6eb0a327de6af4d563
Author: Khem Raj &lt;raj.khem@gmail.com&gt;
Date:   Fri Apr 21 20:36:06 2017 +0000

    grub: Update to 2.02
...

The missing caused grub-mkconfig could not detect kernel bzImage.

(From OE-Core rev: 683807bc4abecadd471a3371a8d592f63bc36d68)

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>grub2: remove autogen dependency</title>
<updated>2017-06-28T14:52:17+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alexander.kanavin@linux.intel.com</email>
</author>
<published>2017-06-15T13:16:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9dad33e9b25c04d71f36bb83d71e098a9cbdda71'/>
<id>urn:sha1:9dad33e9b25c04d71f36bb83d71e098a9cbdda71</id>
<content type='text'>
Hasn't been required by grub for quite a while.

(From OE-Core rev: 7e459c1d13d857b8452b7bedb2ffe2157b27164a)

Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
