mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 13:05:17 +00:00
implement late grub regeneration
This commit is contained in:
parent
dc73b8b67c
commit
f6b286e3ff
@ -32,4 +32,10 @@ echo "options kvm_intel nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add
|
|||||||
# The following part seems useless too. No need to regenerate grub
|
# The following part seems useless too. No need to regenerate grub
|
||||||
# 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'.
|
# 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 sectionsud
|
%end # End of the %post section
|
||||||
|
|
||||||
|
%post --logfile=/root/bhi.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