diff --git a/fedora-arm-kde.ks b/fedora-arm-kde.ks index 8e39df7..34a18ca 100644 --- a/fedora-arm-kde.ks +++ b/fedora-arm-kde.ks @@ -5,8 +5,5 @@ part / --size=5690 --fstype ext4 %post -echo -n "Enabling initial-setup gui mode on startup" -ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service -echo . %end diff --git a/fedora-arm-lxde.ks b/fedora-arm-lxde.ks index 83bd119..9e59c97 100644 --- a/fedora-arm-lxde.ks +++ b/fedora-arm-lxde.ks @@ -3,8 +3,5 @@ %include fedora-lxde-common.ks %post -echo -n "Enabling initial-setup gui mode on startup" -ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service -echo . %end diff --git a/fedora-arm-mate.ks b/fedora-arm-mate.ks index f781c34..f49e054 100644 --- a/fedora-arm-mate.ks +++ b/fedora-arm-mate.ks @@ -5,8 +5,5 @@ part / --size=5500 --fstype ext4 %post -echo -n "Enabling initial-setup gui mode on startup" -ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service -echo . %end diff --git a/fedora-arm-soas.ks b/fedora-arm-soas.ks index 065d5ac..cd0af5f 100644 --- a/fedora-arm-soas.ks +++ b/fedora-arm-soas.ks @@ -3,8 +3,5 @@ %include fedora-soas-common.ks %post -echo -n "Enabling initial-setup gui mode on startup" -ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service -echo . %end diff --git a/fedora-arm-xbase.ks b/fedora-arm-xbase.ks index 91ece50..03a6ae6 100644 --- a/fedora-arm-xbase.ks +++ b/fedora-arm-xbase.ks @@ -10,4 +10,7 @@ # Most of the ARM X accelerated drivers need some level of CMA allocation sed -i 's/\(append .*\)/\1 cma=192MB/' /boot/extlinux/extlinux.conf +# Explicitly set graphical.target as default as this is how initial-setup detects which version to run +ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target + %end diff --git a/fedora-arm-xfce.ks b/fedora-arm-xfce.ks index c55e299..34debd8 100644 --- a/fedora-arm-xfce.ks +++ b/fedora-arm-xfce.ks @@ -5,8 +5,5 @@ part / --size=4000 --fstype ext4 %post -echo -n "Enabling initial-setup gui mode on startup" -ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service -echo . %end