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
1 changed files with 7 additions and 0 deletions
|
@ -33,6 +33,13 @@ touch /etc/machine-id
|
|||
## remove random seed, the newly installed instance should make its own
|
||||
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
|
||||
#--------------------------------------
|
||||
|
|
Loading…
Reference in a new issue