From ec7d7372f4a35dbdb734c8b843959a8ec1db48a9 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Sun, 3 Sep 2023 22:17:10 -0400 Subject: [PATCH] Use calamares for initial setup on KDE images --- components/desktop-environments.xml | 1 + config.sh | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/components/desktop-environments.xml b/components/desktop-environments.xml index 10ba178..994ea03 100644 --- a/components/desktop-environments.xml +++ b/components/desktop-environments.xml @@ -35,6 +35,7 @@ + diff --git a/config.sh b/config.sh index e26bf99..dd44ede 100755 --- a/config.sh +++ b/config.sh @@ -67,10 +67,15 @@ mkdir -p /var/log/journal # Setup firstboot initial setup #-------------------------------------- -## Enable initial-setup -systemctl enable initial-setup.service -## Enable reconfig mode -touch /etc/reconfigSys +if [[ "$kiwi_profiles" == *"KDE"* ]]; then + ## Enable calamares + systemctl enable calamares-firstboot.service +else + ## Enable initial-setup + systemctl enable initial-setup.service + ## Enable reconfig mode + touch /etc/reconfigSys +fi #====================================== # Setup default target