Add 0001-bootc-inistall-provision.patch for TF 2025-06.1 change

https://docs.testing-farm.io/Testing%20Farm/0.1/releases/2025-06.1.html#_breaking_changes

Resolves: #RHEL-104335

Signed-off-by: Xiaofeng Wang <xiaofwan@redhat.com>
This commit is contained in:
Xiaofeng Wang 2025-08-08 16:50:06 +08:00
parent 27e4987061
commit 7c43011661
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff --git i/tmt/tests/bootc-install-provision.sh w/tmt/tests/bootc-install-provision.sh
index 6c9968c..c617d5e 100755
--- i/tmt/tests/bootc-install-provision.sh
+++ w/tmt/tests/bootc-install-provision.sh
@@ -50,7 +50,8 @@ if [ "$TMT_REBOOT_COUNT" -eq 0 ]; then
fi
# Some rhts-*, rstrnt-* and tmt-* commands are in /usr/local/bin
- cp -r /usr/local/bin "$BOOTC_TEMPDIR"
+ cp -r /var/lib/tmt/scripts "$BOOTC_TEMPDIR/bin"
+ ls -al "$BOOTC_TEMPDIR/bin"
# Check image building folder content
ls -al "$BOOTC_TEMPDIR"

View File

@ -32,6 +32,7 @@ Source1: %{url}/releases/download/v%{version}/bootc-%{version}-vendor.tar
# Don't remove, downstream patch only
# Patch for integration test RHEL 9.x and 10.x support
Patch0: 0000-bootc-inistall-provision.patch
Patch1: 0001-bootc-inistall-provision.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}