From e59bd86204af2ec28f543ad7b2f0894db67e4b99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Fri, 24 Nov 2023 13:03:50 +0000 Subject: [PATCH] Core Update 182: Ship and reinstall grub MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/182/filelists/aarch64/grub | 1 + config/rootfiles/core/182/filelists/riscv64/grub | 1 + config/rootfiles/core/182/filelists/x86_64/grub | 1 + config/rootfiles/core/182/update.sh | 5 +++-- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 120000 config/rootfiles/core/182/filelists/aarch64/grub create mode 120000 config/rootfiles/core/182/filelists/riscv64/grub create mode 120000 config/rootfiles/core/182/filelists/x86_64/grub 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 -- 2.39.5