slackware-current/source/a/grub/0004-initrd_fallback_name.patch
Patrick J Volkerding 7bcbee5dbe Wed Jul 31 18:35:06 UTC 2024
a/grub-2.12-x86_64-15.txz:  Rebuilt.
  In /etc/default/grub, eliminate the GRUB_DISABLE_KERNEL_SYMLINKS="true"
  option, replacing it with GRUB_DISPLAY_KERNEL_FILETYPES=both. This may
  be set to "symlinks" (only show kernel symlinks in the menu), "files"
  (only show kernel files in the menu), or "both" to show both.
  Thanks to 0XBF.
  In /etc/default/grub, add a new option GRUB_INITRD_FALLBACK_NAME=initrd.gz.
  This defines the name of an initrd that will match to any kernel if a
  better match wasn't found first. This option will be commented out by
  default.
  When the defaults in /etc/default/grub are left alone, the behavior of the
  10_linux script is identical to the unmodified one.
ap/vim-9.1.0645-x86_64-1.txz:  Upgraded.
l/protobuf-27.3-x86_64-1.txz:  Upgraded.
n/curl-8.9.1-x86_64-1.txz:  Upgraded.
  This update fixes a security issue:
  ASN.1 date parser overread.
  For more information, see:
    https://curl.se/docs/CVE-2024-7264.html
    https://www.cve.org/CVERecord?id=CVE-2024-7264
  (* Security fix *)
x/mesa-24.1.5-x86_64-1.txz:  Upgraded.
xap/vim-gvim-9.1.0645-x86_64-1.txz:  Upgraded.
xfce/thunar-4.18.11-x86_64-1.txz:  Upgraded.
extra/tigervnc/tigervnc-1.14.0-x86_64-2.txz:  Rebuilt.
  Use the old build script, which worked with a couple of added slashes.
  Xvnc restored, and /usr/local directories gone.
2024-07-31 21:14:36 +02:00

24 lines
917 B
Diff

--- ./util/grub.d/10_linux.in.orig 2024-07-30 15:28:52.790956089 -0500
+++ ./util/grub.d/10_linux.in 2024-07-30 15:33:20.145303738 -0500
@@ -235,7 +235,8 @@
"initramfs-genkernel-${version}" \
"initramfs-genkernel-${alt_version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
- "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
+ "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" \
+ "$GRUB_INITRD_FALLBACK_NAME" ; do
if test -e "${dirname}/${i}" ; then
initrd_real="${i}"
break
--- ./util/grub-mkconfig.in.orig 2024-07-30 15:28:52.787956085 -0500
+++ ./util/grub-mkconfig.in 2024-07-30 15:35:55.115501711 -0500
@@ -262,7 +262,8 @@
GRUB_ENABLE_CRYPTODISK \
GRUB_BADRAM \
GRUB_OS_PROBER_SKIP_LIST \
- GRUB_DISABLE_SUBMENU
+ GRUB_DISABLE_SUBMENU \
+ GRUB_INITRD_FALLBACK_NAME
if test "x${grub_cfg}" != "x"; then
rm -f "${grub_cfg}.new"