Apply workaround for issues with grub-bls
KIWI currently configures grub2 slightly incorrectly, such that installing new kernels does not correctly switches the default kernel to the new one. Work around this while we wait for a fix in KIWI to deal with this problem. Reference: https://github.com/OSInside/kiwi/issues/2198
This commit is contained in:
parent
3cdf005975
commit
e565b009da
@ -33,6 +33,13 @@ touch /etc/machine-id
|
|||||||
## remove random seed, the newly installed instance should make its own
|
## remove random seed, the newly installed instance should make its own
|
||||||
rm -f /var/lib/systemd/random-seed
|
rm -f /var/lib/systemd/random-seed
|
||||||
|
|
||||||
|
#======================================
|
||||||
|
# Configure grub correctly
|
||||||
|
#--------------------------------------
|
||||||
|
## Works around issues with grub-bls
|
||||||
|
## See: https://github.com/OSInside/kiwi/issues/2198
|
||||||
|
echo "GRUB_DEFAULT=saved" >> /etc/default/grub
|
||||||
|
|
||||||
#======================================
|
#======================================
|
||||||
# Delete & lock the root user password
|
# Delete & lock the root user password
|
||||||
#--------------------------------------
|
#--------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user