make the appliance kernel uniprocessor in %check / gating...

... for working around RHBZ#2216496.

(This change is unrelated to RHBZ#2182024, highlighted below.)

resolves: rhbz#2182024
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Laszlo Ersek 2023-07-03 15:59:29 +02:00
parent 9f79ec032d
commit ac1270e705
2 changed files with 9 additions and 2 deletions

View File

@ -13,5 +13,8 @@ set -x
# <https://lists.corp.redhat.com/archives/osci-list/2023-June/001238.html>.
systemctl isolate multi-user.target
# Work around RHBZ#2216496.
export LIBGUESTFS_APPEND=nosmp
virt-builder -vx fedora-30
virt-v2v -vx -i disk fedora-30.img -o null

View File

@ -16,7 +16,7 @@
Name: virt-v2v
Epoch: 1
Version: 2.3.4
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Convert a virtual machine to run on KVM
License: GPLv2+
@ -291,6 +291,9 @@ fi
export LIBGUESTFS_DEBUG=1
export LIBGUESTFS_TRACE=1
# Work around RHBZ#2216496.
export LIBGUESTFS_APPEND=nosmp
# The built in tests take a very long time to run under TCG (in Koji),
# so just perform a very simple conversion to check things are
# working.
@ -356,8 +359,9 @@ make -C tests TESTS=test-v2v-fedora-luks-on-lvm-conversion.sh check
%changelog
* Fri Jun 30 2023 Laszlo Ersek <lersek@redhat.com> - 1:2.3.4-4
* Mon Jul 03 2023 Laszlo Ersek <lersek@redhat.com> - 1:2.3.4-5
- improve UX when running as root and we can't chown v2v tmpdir or socks
- make the appliance kernel UP in %check, for working around RHBZ#2216496
resolves: rhbz#2182024
* Tue Jun 20 2023 Laszlo Ersek <lersek@redhat.com> - 1:2.3.4-3