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

This commit is contained in:
Laszlo Ersek 2023-07-03 15:59:29 +02:00 committed by root
parent 9f79ec032d
commit 9237312dfd
3 changed files with 11 additions and 2 deletions

2
.virt-v2v.metadata Normal file
View File

@ -0,0 +1,2 @@
6c170400aeacfe53828b4fdbfdcbca2423b9e753 virt-v2v-2.3.4.tar.gz
80ec48e7e505294cea883a0bd86e5311044fe996 virt-v2v-2.3.4.tar.gz.sig

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