From dfebe0f30c0e7162c60760ae742285922c3a5b53 Mon Sep 17 00:00:00 2001 From: Lukas Date: Sat, 27 Nov 2021 15:30:24 +0100 Subject: [PATCH] reinstate grub rebuilding at the beginning --- leaves/phyllome-desktop-ii.cfg | 8 +------- leaves/phyllome-desktop.cfg | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/leaves/phyllome-desktop-ii.cfg b/leaves/phyllome-desktop-ii.cfg index 62ddd12..44e7754 100644 --- a/leaves/phyllome-desktop-ii.cfg +++ b/leaves/phyllome-desktop-ii.cfg @@ -41,7 +41,7 @@ part / --fstype="ext4" --grow --label=root localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked. dnf update -y # Update the system -# grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly +grub2-mkconfig -o /boot/grub2/grub.cfg # Unsure it is actually useful %end @@ -116,12 +116,6 @@ echo "options kvm_intel nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add %end -%post --logfile=/root/bhi.log - -grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly - -%end - %post --nochroot --logfile=/mnt/sysimage/root/dhi.log truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available diff --git a/leaves/phyllome-desktop.cfg b/leaves/phyllome-desktop.cfg index cd8dd04..c39ef25 100644 --- a/leaves/phyllome-desktop.cfg +++ b/leaves/phyllome-desktop.cfg @@ -41,7 +41,7 @@ part / --fstype="ext4" --grow --label=root localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked. dnf update -y # Update the system -# grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly +grub2-mkconfig -o /boot/grub2/grub.cfg # Unsure it is actually useful %end