From: Arne Fitzenreiter Date: Fri, 14 Aug 2020 15:16:57 +0000 (+0000) Subject: core149: add grub and install it at update X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c77c5376e458c2ae7ae0d54cae5d8f9ade2582ee;p=people%2Fstevee%2Fipfire-2.x.git core149: add grub and install it at update Signed-off-by: Arne Fitzenreiter --- diff --git a/config/rootfiles/core/149/filelists/aarch64/grub b/config/rootfiles/core/149/filelists/aarch64/grub new file mode 120000 index 0000000000..40ae85fb60 --- /dev/null +++ b/config/rootfiles/core/149/filelists/aarch64/grub @@ -0,0 +1 @@ +../../../../common/aarch64/grub \ No newline at end of file diff --git a/config/rootfiles/core/149/filelists/i586/grub b/config/rootfiles/core/149/filelists/i586/grub new file mode 120000 index 0000000000..feb236a224 --- /dev/null +++ b/config/rootfiles/core/149/filelists/i586/grub @@ -0,0 +1 @@ +../../../../common/i586/grub \ No newline at end of file diff --git a/config/rootfiles/core/149/filelists/x86_64/grub b/config/rootfiles/core/149/filelists/x86_64/grub new file mode 120000 index 0000000000..78d3bd7840 --- /dev/null +++ b/config/rootfiles/core/149/filelists/x86_64/grub @@ -0,0 +1 @@ +../../../../common/x86_64/grub \ No newline at end of file diff --git a/config/rootfiles/core/149/update.sh b/config/rootfiles/core/149/update.sh index b1dfa97c9a..d7067a4cc9 100644 --- a/config/rootfiles/core/149/update.sh +++ b/config/rootfiles/core/149/update.sh @@ -57,6 +57,11 @@ sed -i /var/spool/cron/root.orig \ -e "s/GeoIP/location/" fcrontab -z +# Install updated grub +if [ -e /boot/grub/grub.cfg ]; then + /usr/bin/install-bootloader +fi + # This update needs a reboot... #touch /var/run/need_reboot