core149: add grub and install it at update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2020-08-14 15:16:57 +00:00
parent f8561a5c16
commit c77c5376e4
4 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1 @@
../../../../common/aarch64/grub

View File

@@ -0,0 +1 @@
../../../../common/i586/grub

View File

@@ -0,0 +1 @@
../../../../common/x86_64/grub

View File

@@ -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