qubes-installer-qubes-os/anaconda/tests/kickstart_tests/driverdisk-disk.ks
M. Vefa Bicakci 38f3e28d77
anaconda: Update to 23.19.10
Use the output of

  git diff --full-index --binary anaconda-22.20.13-1..anaconda-23.19.10-1

from anaconda's git repository and fix-up merge conflicts.
2016-04-10 00:00:00 -04:00

42 lines
988 B
Plaintext

#version=DEVEL
url --url="http://dl.fedoraproject.org/pub/fedora/linux/development/$releasever/$basearch/os/"
install
network --bootproto=dhcp
keyboard us
lang en_US.UTF-8
timezone America/New_York --utc
rootpw testcase
shutdown
bootloader --timeout=1
zerombr
clearpart --all
autopart
driverdisk /dev/disk/by-label/TEST_DD
%packages
@core
%end
%post --nochroot
SYSROOT=${ANA_INSTALL_PATH:-/mnt/sysimage}
RESULTFILE=$SYSROOT/root/RESULT
fail() { echo "*** $*" >> $RESULTFILE; }
# check the installer environment
[ -f /lib/modules/`uname -r`/updates/fake-dd.ko ] || fail "kmod not loaded"
[ -f /usr/bin/fake-dd-bin ] || fail "installer-enhancement not loaded"
# check the installed system
[ -f $SYSROOT/root/fake-dd-2.ko ] || fail "kmod rpm not installed"
[ ! -f $SYSROOT/usr/bin/fake-dd-bin ] || \
fail "installer-enhancement package installed to target system"
# write successful result if nothing failed
if [[ ! -e $RESULTFILE ]]; then
echo SUCCESS > $RESULTFILE
fi
%end