aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/grub2/patches
Commit message (Collapse)AuthorAgeFilesLines
* grub2: update to 2.06Dirk Neukirchen2021-06-212-56/+16
| | | | | | | | | | | | | | | -300-CVE-2015-8370.patch is upstreamed with different code (upstream id: 451d80e52d851432e109771bb8febafca7a5f1f2) - fixup OpenWrts setup_root patch compile tested: x86_64,i386 runtime tested: VM x86_64,VM i386 - booted fine - grub-editenv worked Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
* grub2: bump to 2.06-rc1Stijn Tintel2021-05-162-74/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building GRUB with binutils 2.35.2 or later, an error occurs due to a section .note.gnu.property that is placed at an offset such that objcopy needs to pad the img file with zeros. This in turn causes the following error: "error: Decompressor is too big.". The fix accepted by upstream patches a python script that isn't executed at all when building GRUB with OpenWrt buildroot. There's another patch that patches the files generated by that python script directly, but by including it we would deviate further from upstream. Instead of doing that, simply bump to the latest release candidate. As one of the fixes for the CVEs causes grub to crash on some x86 hardware using legacy BIOS when compiled with -O2, filter -O2 and -O3 out of TARGET_CFLAGS. Fixes the following CVEs: - CVE-2020-14372 - CVE-2020-25632 - CVE-2020-25647 - CVE-2020-27749 - CVE-2020-27779 - CVE-2021-3418 - CVE-2021-20225 - CVE-2021-20233 Runtime-tested on x86/64. Fixes: FS#3790 Suggested-by: Dirk Neukirchen <plntyk.lede@plntyk.name> Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* grub2: fix a build regression on non-linux systemsFelix Fietkau2019-10-021-0/+31
| | | | | | Merge an upstream commit to correct a missing rename in generic code Signed-off-by: Felix Fietkau <nbd@nbd.name>
* grub2: bump to 2.04Tomasz Maciej Nowak2019-09-016-183/+8
| | | | | | | | | | | | | | | | | | | | | * GCC 8 and 9 support. * Gnulib integration overhaul. * RISC-V support. * Xen PVH support. * Native UEFI secure boot support. * UEFI TPM driver. * New IEEE 1275 obdisk driver. * Btrfs RAID 5 and RIAD 6 support. * bootin from F2FS support. * PARTUUID support. * VLAN support. * Native DHCP support. * Many ARM and ARM64 fixes. * Many SPARC fixes. * Many IEEE 1275 fixes. * ...and tons of other fixes and cleanups... Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* grub2: fix regression caused by binutils-2.31.1Philip Prindeville2018-10-251-0/+75
| | | | | | | | | | | | | grub-efi no longer works: grub-mkimage: error: relocation 0x4 is not implemented yet. See: http://git.savannah.gnu.org/cgit/grub.git/commit/util?id=842c390469e2c2e10b5aa36700324cd3bde25875 Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>i [PKG_RELEASE increase]
* grub2: rebase patchesJo-Philipp Wich2018-08-231-8/+4
| | | | | | | | | Patch 300-CVE-2015-8370.patch was added without proper rebasing on the version used by OpenWrt, make it apply and refresh the patch to fix compilation. Fixes: 7e73e9128f ("grub2: Fix CVE-2015-8370") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* grub2: Fix CVE-2015-8370Rosen Penev2018-08-231-0/+44
| | | | | | | | | | | This CVE is a culmination of multiple integer overflow issues that cause multiple issues like Denial of Service and authentication bypass. More info: https://nvd.nist.gov/vuln/detail/CVE-2015-8370 Taken from Fedora. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* grub2: fix packed-not-aligned error on GCC 8Edi Turn2018-07-301-0/+71
| | | | | | Fix the compile error "packed-not-aligned" when using GCC 8. Signed-off-by: Edi Turn <yyxstter@gmail.com>
* grub2: upgrade to 2.02-beta3 (3 years newer than previous)Alexandru Ardelean2016-12-203-48/+8
| | | | | | | | '100-musl-compat.patch' does not seem to be required anymore. '210-fix_serial_rtscts.patchi' is superseeded by: http://git.savannah.gnu.org/cgit/grub.git/commit/?id=bac5d1a64ab4191058a8fd4c05f6b3b339e249e7 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* grub2: disable 'check-macro-version' build rule in 'po' buildAlexandru Ardelean2016-12-201-0/+13
| | | | | | | | This seems to occur when gettext-full is built on the host-side and the autoreconf stuff re-generates some of the build files, except for the po/Makefile.in.in Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* grub2: fix build against muslJo-Philipp Wich2015-06-251-0/+26
| | | | | | | | | Invert the `__GLIBC__` guards into `!__UCLIBC__` ones to avoid invalid references to `_llseek` on musl. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 46125
* grub2: fix processing the serial rts/cts optionFelix Fietkau2015-03-141-0/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44752
* grub2: update to 2.02-beta2, fixes mac os x 10.9 support (and many other things)Felix Fietkau2014-03-123-76/+96
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39889
* grub2: fix another case of gnulib failing under gnu libcJo-Philipp Wich2012-11-261-0/+15
| | | | SVN-Revision: 34389
* grub2: accept the linux-musl* tupleFlorian Fainelli2012-11-231-0/+22
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34306
* move boot related packages to their own folderJohn Crispin2012-10-161-0/+77
SVN-Revision: 33781