]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Core Update 182: Ship and reinstall grub
authorPeter Müller <peter.mueller@ipfire.org>
Fri, 24 Nov 2023 13:03:50 +0000 (13:03 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 24 Nov 2023 13:03:50 +0000 (13:03 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/182/filelists/aarch64/grub [new symlink]
config/rootfiles/core/182/filelists/riscv64/grub [new symlink]
config/rootfiles/core/182/filelists/x86_64/grub [new symlink]
config/rootfiles/core/182/update.sh

diff --git a/config/rootfiles/core/182/filelists/aarch64/grub b/config/rootfiles/core/182/filelists/aarch64/grub
new file mode 120000 (symlink)
index 0000000..40ae85f
--- /dev/null
@@ -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 (symlink)
index 0000000..7013c0b
--- /dev/null
@@ -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 (symlink)
index 0000000..78d3bd7
--- /dev/null
@@ -0,0 +1 @@
+../../../../common/x86_64/grub
\ No newline at end of file
index db70446c352f0c09aa1be6f0903f85c249218d9c..4416e73f4de63e218f212c06afd3a3fcb3e95bad 100644 (file)
@@ -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