mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 13:05:17 +00:00
add grub regeneration
If the GRUB is not regenerated at the end, then kernel arguments are not taken into account
This commit is contained in:
parent
de556053c3
commit
dc73b8b67c
@ -31,3 +31,9 @@ echo "options kvm_amd nested=1" >> /etc/modprobe.d/kvm.conf # Add support for ne
|
||||
# grub2-mkconfig -o /mnt/sysimage/boot/grub2/grub.cfg # Update grub. Does it fail ? /usr/sbin/grub2-probe: error: failed to get canonical path of `LiveOS_rootfs'.
|
||||
|
||||
%end # End of the %post section
|
||||
|
||||
%post --logfile=/root/bha.log
|
||||
|
||||
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly
|
||||
|
||||
%end
|
Loading…
Reference in New Issue
Block a user