diff --git a/test/fmf/integration-tests/test.sh b/test/fmf/integration-tests/test.sh index 0a1595fa97..347cd219a4 100755 --- a/test/fmf/integration-tests/test.sh +++ b/test/fmf/integration-tests/test.sh @@ -63,6 +63,11 @@ Release=${VERSION_ID:-rawhide} [Build] ToolsTreeDistribution=$ID ToolsTreeRelease=${VERSION_ID:-rawhide} +EOF + +if [[ -n "${TESTING_FARM_REQUEST_ID:-}" ]]; then + tee --append mkosi.local.conf <> /etc/yum.repos.d/copr_build* + # Ensure packages built for this test have highest priority + echo -e "\npriority=1" >> /etc/yum.repos.d/copr_build* -# Disable mkosi's own repository logic -touch /etc/yum.repos.d/mkosi.repo + # Disable mkosi's own repository logic + touch /etc/yum.repos.d/mkosi.repo +fi # TODO: drop once BTRFS regression is fixed in kernel 6.13 sed -i "s/Format=btrfs/Format=ext4/" mkosi.repart/10-root.conf