qubes-installer-qubes-os/anaconda/tests/gui/anaconda-autogui-testing.ks

46 lines
1.2 KiB
Plaintext
Raw Normal View History

%include /usr/share/spin-kickstarts/fedora-livecd-desktop.ks
url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64
shutdown
network --bootproto=dhcp --activate --device=link
rootpw qweqwe
# Override dumb values from the spin-kickstarts.
bootloader --location=mbr
zerombr
clearpart --all
part / --fstype="ext4" --size=4400
%post
cat >> /etc/rc.d/init.d/livesys << EOF
# Mount the attached disk containing test suite information.
mkdir /mnt/anactest
mount -L ANACTEST /mnt/anactest
chown -R liveuser.liveuser /mnt/anactest
if [ -f /usr/share/applications/anaconda.desktop ]; then
# Make anaconda start automatically.
if [ -f ~liveuser/.config/autostart/fedora-welcome.desktop ]; then
rm ~liveuser/.config/autostart/fedora-welcome.desktop
fi
cp /usr/share/applications/anaconda.desktop ~liveuser/.config/autostart/
sed -i -e '/Exec=/ s|/usr/bin/liveinst|python /mnt/anactest/suite.py|' ~liveuser/.config/autostart/anaconda.desktop
# Enable accessibility needed for testing.
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.override << FOE
[org.gnome.desktop.interface]
toolkit-accessibility=true
FOE
fi
EOF
%end
%packages
dogtail
-@libreoffice
-java*
%end