From 681654e2dec764dcf59c0d523d6aa33ea71690ca Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Tue, 20 Dec 2022 12:31:04 +0000 Subject: [PATCH] Revert "Drop grub workaround now that kiwi fixed it" The upstream fix doesn't actually work: https://github.com/OSInside/kiwi/issues/2222 This reverts commit 82aa1e6f3d21b8db1320b58e3f2fda3826ef4561. --- config.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.sh b/config.sh index 6271a15..9c5cd7e 100755 --- a/config.sh +++ b/config.sh @@ -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 #--------------------------------------