diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2024-07-25 02:39:18 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2024-07-25 06:11:40 +0200 |
commit | b75837013c0ff4f20d1a2ccc1a7ea7eb4ad96765 (patch) | |
tree | b9f7395251c5219b1485fe0fd97d7288d4ef0b53 /testing/source/grub/update-grub | |
parent | c9ced48b11b4756c10bb485d940ab7d5d1680c33 (diff) | |
download | current-b75837013c0ff4f20d1a2ccc1a7ea7eb4ad96765.tar.gz current-b75837013c0ff4f20d1a2ccc1a7ea7eb4ad96765.tar.xz |
Thu Jul 25 02:39:18 UTC 202420240725023918
Well folks, we have some more interesting stuff in /testing now.
Our good friend LuckyCyborg posted a while back about our trials with
GRUB2, and that we were banging our heads against a wall for no reason
trying to bend GRUB2 with our 09_slackware_linux grub.d script instead
of changing our kernel/initrd naming scheme to vmlinux-6.10.1-generic
and initrd-6.10.1-generic.img. And, as is often the case, our friend is
exactly correct. Once we stopped trying to swim against the current, GRUB2
started behaving as it should.
The updates in /testing change the kernel naming scheme thusly, and modify
the geninitrd script in the mkinitrd package to also use this naming
scheme. And, of course, 09_slackware_linux is removed from GRUB2, and the
10_linux script is only lightly modified.
Because lilo and elilo work with the symlinks to the kernel and initrd,
they shouldn't care anout this change.
We've probably got 6.9.11 coming tomorrow. Unless I hear that I should stop
the presses on this change, it's likely that those kernels will be updated
using the new naming scheme and the mkinitrd and grub updates will be moved
into the main tree from /testing.
We'll stick with 6.9 in the main tree for now because I'm still encountering
suspend failure with the 6.10 kernel here.
Enjoy! :-)
a/kernel-firmware-20240723_b37d247-noarch-1.txz: Upgraded.
ap/mpg123-1.32.6-x86_64-2.txz: Rebuilt.
l/libxml2-2.13.3-x86_64-1.txz: Upgraded.
This update fixes a security issue:
Fix XXE protection in downstream code.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2024-40896
(* Security fix *)
l/mozilla-nss-3.102.1-x86_64-1.txz: Upgraded.
l/nodejs-20.16.0-x86_64-1.txz: Upgraded.
l/python-importlib_metadata-8.2.0-x86_64-1.txz: Upgraded.
l/v4l-utils-1.28.1-x86_64-1.txz: Upgraded.
n/c-ares-1.32.3-x86_64-1.txz: Upgraded.
n/curl-8.9.0-x86_64-1.txz: Upgraded.
n/htdig-3.2.0b6-x86_64-10.txz: Rebuilt.
Patch XSS vulnerability. Thanks to jayjwa.
Get this out of cgi-bin. Thanks to LuckyCyborg.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2007-6110
(* Security fix *)
n/libtirpc-1.3.5-x86_64-1.txz: Upgraded.
extra/fltk/fltk-1.3.9-x86_64-2.txz: Rebuilt.
extra/tigervnc/tigervnc-1.13.1-x86_64-6.txz: Rebuilt.
Not sure why 1.14.0 isn't compiling, but we'll rebuild this for now.
testing/packages/grub-2.12-x86_64-12.txz: Upgraded.
Remove 09_slackware_linux.
10_linux: don't rename Slackware ;-)
This should configure the renamed kernel/initrd perfectly.
Perhaps 10_linux should no longer accept initrd.gz as a valid name?
For now it is accepted to avoid disrupting existing workflows.
testing/packages/kernel-generic-6.10.1-x86_64-1.txz: Upgraded.
testing/packages/kernel-headers-6.10.1-x86-1.txz: Upgraded.
testing/packages/kernel-huge-6.10.1-x86_64-1.txz: Upgraded.
testing/packages/kernel-modules-6.10.1-x86_64-1.txz: Upgraded.
testing/packages/kernel-source-6.10.1-noarch-1.txz: Upgraded.
testing/packages/mkinitrd-1.4.11-x86_64-35.txz: Upgraded.
geninitrd: create initrd with initrd-version-name.img filename.
Make compat symlinks by default.
Always add LVM (I've seen it mistakenly skipped... if we can get to the
bottom of that then we'll stop always adding it)
Add /etc/default/geninitrd for configuration.
Diffstat (limited to 'testing/source/grub/update-grub')
-rw-r--r-- | testing/source/grub/update-grub | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/source/grub/update-grub b/testing/source/grub/update-grub new file mode 100644 index 000000000..fef55d9b8 --- /dev/null +++ b/testing/source/grub/update-grub @@ -0,0 +1,10 @@ +#!/bin/sh +# This is a simple script to update grub from the configuration file. +# Please note that after upgrading to a new grub version, you should +# first use "grub-install" to reinstall the bootloader, similar to this: +# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --recheck +# or this: +# grub-install --target=i386-pc --recheck /dev/sdX + +set -e +exec grub-mkconfig -o /boot/grub/grub.cfg "$@" |