- Run user test with --skip-mkefiboot

This commit is contained in:
Brian C. Lane 2022-12-13 10:26:01 -08:00
parent 1d493d6f01
commit 26136aa210
2 changed files with 7 additions and 4 deletions

View File

@ -4,7 +4,7 @@
Name: lorax
Version: 38.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Tool for creating the anaconda install images
License: GPLv2+
@ -168,6 +168,9 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
%{_datadir}/lorax/templates.d/*
%changelog
* Tue Dec 13 2022 Brian C. Lane <bcl@redhat.com> - 38.4-2
- Run user test with --skip-mkefiboot
* Mon Dec 12 2022 Brian C. Lane <bcl@redhat.com> 38.4-1
- runtime-cleanup: drop old versions of qed firmware (awilliam@redhat.com)
- runtime-cleanup: drop Mediatek SoC firmwares (awilliam@redhat.com)

View File

@ -199,12 +199,12 @@ function run_all {
umount_dirs
}
# All of the changes as a user (lorax-ted)
# All of the changes as a user (lorax-ted) with --skip-mkefiboot
function run_as_user {
running "Use all the options as a user"
[ ! -e "/home/lorax-ted" ] && useradd -m lorax-ted
su - lorax-ted -c "mkksiso -a /etc/services -V "mkksiso-test" -c "console=ttyS0,115200n8" --rm "quiet" --ks $KS $BOOTISO $OUTISO" || exit 1
su - lorax-ted -c "mkksiso --skip-mkefiboot -a /etc/services -V "mkksiso-test" -c "console=ttyS0,115200n8" --rm "quiet" --ks $KS $BOOTISO $OUTISO" || exit 1
mount $OUTISO $ISODIR || exit 1
test_ks
@ -213,7 +213,7 @@ function run_as_user {
test_files
test_quiet
status "Use all the options as a user"
status "Use all the options as a user with --skip-mkefiboot"
umount_dirs
}