mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 05:35:26 +00:00
fix graphical initial-setup on ARM images
The old means of enabling the graphical service is obsolete so remove it. It's now detected by explicitly enabling graphical.target so do this by default for all graphical UXes
This commit is contained in:
parent
2a681eaf90
commit
3c3152b72d
@ -5,8 +5,5 @@
|
|||||||
part / --size=5690 --fstype ext4
|
part / --size=5690 --fstype ext4
|
||||||
|
|
||||||
%post
|
%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
|
%end
|
||||||
|
@ -3,8 +3,5 @@
|
|||||||
%include fedora-lxde-common.ks
|
%include fedora-lxde-common.ks
|
||||||
|
|
||||||
%post
|
%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
|
%end
|
||||||
|
@ -5,8 +5,5 @@
|
|||||||
part / --size=5500 --fstype ext4
|
part / --size=5500 --fstype ext4
|
||||||
|
|
||||||
%post
|
%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
|
%end
|
||||||
|
@ -3,8 +3,5 @@
|
|||||||
%include fedora-soas-common.ks
|
%include fedora-soas-common.ks
|
||||||
|
|
||||||
%post
|
%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
|
%end
|
||||||
|
@ -10,4 +10,7 @@
|
|||||||
# Most of the ARM X accelerated drivers need some level of CMA allocation
|
# Most of the ARM X accelerated drivers need some level of CMA allocation
|
||||||
sed -i 's/\(append .*\)/\1 cma=192MB/' /boot/extlinux/extlinux.conf
|
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
|
%end
|
||||||
|
@ -5,8 +5,5 @@
|
|||||||
part / --size=4000 --fstype ext4
|
part / --size=4000 --fstype ext4
|
||||||
|
|
||||||
%post
|
%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
|
%end
|
||||||
|
Loading…
Reference in New Issue
Block a user