summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-09-05 22:57:51 -0400
committerMike Frysinger <vapier@gentoo.org>2021-09-05 22:59:00 -0400
commit5f689c2332fa0e6f89ffaf85fb17ae745e84d737 (patch)
tree30f2baf4614a97a9557db245605f8781baaaf57e /sys-boot
parentapp-admin/sysklogd: keyword ~riscv. (diff)
downloadgentoo-5f689c2332fa0e6f89ffaf85fb17ae745e84d737.tar.gz
gentoo-5f689c2332fa0e6f89ffaf85fb17ae745e84d737.tar.bz2
gentoo-5f689c2332fa0e6f89ffaf85fb17ae745e84d737.zip
sys-boot/grub: fix custom kernel glob patch
The variable export was missing which caused it to always be blank. Setting it in /etc/default/grub wouldn't work as /etc/grub.d/10_linux still wouldn't see it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/grub/files/grub-2.02_beta2-KERNEL_GLOBS.patch13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys-boot/grub/files/grub-2.02_beta2-KERNEL_GLOBS.patch b/sys-boot/grub/files/grub-2.02_beta2-KERNEL_GLOBS.patch
index c66ee68dc8de..0d2b96d76c11 100644
--- a/sys-boot/grub/files/grub-2.02_beta2-KERNEL_GLOBS.patch
+++ b/sys-boot/grub/files/grub-2.02_beta2-KERNEL_GLOBS.patch
@@ -62,6 +62,13 @@ index 859b608..e5ac11d 100644
case "$machine" in
i?86) GENKERNEL_ARCH="x86" ;;
---
-2.3.0
-
+--- a/util/grub-mkconfig.in
++++ b/util/grub-mkconfig.in
+@@ -252,6 +252,7 @@
+ GRUB_BADRAM \
+ GRUB_OS_PROBER_SKIP_LIST \
+ GRUB_DISABLE_SUBMENU
++export GRUB_LINUX_KERNEL_GLOBS
+
+ if test "x${grub_cfg}" != "x"; then
+ rm -f "${grub_cfg}.new"