From: Peter Müller Date: Fri, 24 Nov 2023 13:03:50 +0000 (+0000) Subject: Core Update 182: Ship and reinstall grub X-Git-Tag: v2.27-core182~16^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e59bd86204af2ec28f543ad7b2f0894db67e4b99;p=ipfire-2.x.git Core Update 182: Ship and reinstall grub Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/182/filelists/aarch64/grub b/config/rootfiles/core/182/filelists/aarch64/grub new file mode 120000 index 0000000000..40ae85fb60 --- /dev/null +++ b/config/rootfiles/core/182/filelists/aarch64/grub @@ -0,0 +1 @@ +../../../../common/aarch64/grub \ No newline at end of file diff --git a/config/rootfiles/core/182/filelists/riscv64/grub b/config/rootfiles/core/182/filelists/riscv64/grub new file mode 120000 index 0000000000..7013c0be5b --- /dev/null +++ b/config/rootfiles/core/182/filelists/riscv64/grub @@ -0,0 +1 @@ +../../../../common/riscv64/grub \ No newline at end of file diff --git a/config/rootfiles/core/182/filelists/x86_64/grub b/config/rootfiles/core/182/filelists/x86_64/grub new file mode 120000 index 0000000000..78d3bd7840 --- /dev/null +++ b/config/rootfiles/core/182/filelists/x86_64/grub @@ -0,0 +1 @@ +../../../../common/x86_64/grub \ No newline at end of file diff --git a/config/rootfiles/core/182/update.sh b/config/rootfiles/core/182/update.sh index db70446c35..4416e73f4d 100644 --- a/config/rootfiles/core/182/update.sh +++ b/config/rootfiles/core/182/update.sh @@ -62,6 +62,7 @@ rm -rvf \ /lib/firmware/sb16 \ /lib/firmware/yamaha \ /usr/bin/gawk-5.2* \ + /usr/lib/grub/{arm64-efi,i386-pc,riscv64-efi,x86_64-efi}/gmodule.pl \ /usr/lib/liblzma.so.5.4* \ /usr/lib/libqpdf.so.29.5* \ /usr/lib/libsodium.so.23* @@ -112,9 +113,9 @@ touch /var/run/need_reboot /etc/init.d/fireinfo start sendprofile -# Update grub config to display new core version +# Grub version was updated, reinstall it if [ -e /boot/grub/grub.cfg ]; then - grub-mkconfig -o /boot/grub/grub.cfg + /usr/bin/install-bootloader fi sync