From d3a5d4ea183765e5f308727df1afd82803dc7432 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Tue, 30 Apr 2024 10:40:14 +0530 Subject: [PATCH] switch from GRUB2 to systemd-boot --- components/boot.xml | 3 ++- config.sh | 11 ----------- platforms/minimal.xml | 2 +- platforms/server.xml | 2 +- platforms/workstation.xml | 2 +- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/components/boot.xml b/components/boot.xml index 23191b3..b3f6b13 100644 --- a/components/boot.xml +++ b/components/boot.xml @@ -3,11 +3,12 @@ - + + diff --git a/config.sh b/config.sh index d556a93..b333d50 100755 --- a/config.sh +++ b/config.sh @@ -33,17 +33,6 @@ echo 'uninitialized' > /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 -## Disable submenus to match Fedora -echo "GRUB_DISABLE_SUBMENU=true" >> /etc/default/grub -## Disable recovery entries to match Fedora -echo "GRUB_DISABLE_RECOVERY=true" >> /etc/default/grub - #====================================== # Delete & lock the root user password #-------------------------------------- diff --git a/platforms/minimal.xml b/platforms/minimal.xml index 586a273..7995e64 100644 --- a/platforms/minimal.xml +++ b/platforms/minimal.xml @@ -7,7 +7,7 @@ - + diff --git a/platforms/server.xml b/platforms/server.xml index c91c287..86fc854 100644 --- a/platforms/server.xml +++ b/platforms/server.xml @@ -7,7 +7,7 @@ - + diff --git a/platforms/workstation.xml b/platforms/workstation.xml index dfb5798..e7beebc 100644 --- a/platforms/workstation.xml +++ b/platforms/workstation.xml @@ -15,7 +15,7 @@ - +