mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 13:05:17 +00:00
rebuild grub on the main, base-image
This commit is contained in:
parent
b429fc6114
commit
b84c4ebab4
@ -31,9 +31,3 @@ 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'.
|
# 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
|
%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
|
|
@ -33,9 +33,3 @@ echo "options kvm_intel nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add
|
|||||||
# 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 section
|
%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
|
|
@ -48,6 +48,6 @@ generic-release-notes # "Release Notes"
|
|||||||
|
|
||||||
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
|
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
|
||||||
dnf update -y # Update the system
|
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 # Update grub otherwise the system won't boot properly
|
||||||
|
|
||||||
%end # End of the %post section
|
%end # End of the %post section
|
Loading…
Reference in New Issue
Block a user