mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-01-17 22:23:09 +00:00
ostree: use a pr branch on f40 to fix issue with rpm-ostree update
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
e440059247
commit
d8e4e9cd97
@ -38,6 +38,13 @@ sub run {
|
|||||||
assert_script_run 'git clone https://pagure.io/workstation-ostree-config.git';
|
assert_script_run 'git clone https://pagure.io/workstation-ostree-config.git';
|
||||||
assert_script_run 'pushd workstation-ostree-config';
|
assert_script_run 'pushd workstation-ostree-config';
|
||||||
assert_script_run "git checkout ${branch}";
|
assert_script_run "git checkout ${branch}";
|
||||||
|
if ($version eq "40") {
|
||||||
|
# https://pagure.io/workstation-ostree-config/pull-request/600
|
||||||
|
# fixes the issue with https://bodhi.fedoraproject.org/updates/FEDORA-2025-0a378044f0
|
||||||
|
# remove when it's merged
|
||||||
|
assert_script_run "git fetch https://pagure.io/workstation-ostree-config.git refs/pull/600/head:pr600";
|
||||||
|
assert_script_run "git checkout pr600";
|
||||||
|
}
|
||||||
# now copy the advisory, workaround repo and koji-rawhide config files
|
# now copy the advisory, workaround repo and koji-rawhide config files
|
||||||
assert_script_run 'cp /etc/yum.repos.d/workarounds.repo .' if ($workarounds);
|
assert_script_run 'cp /etc/yum.repos.d/workarounds.repo .' if ($workarounds);
|
||||||
assert_script_run 'cp /etc/yum.repos.d/koji-rawhide.repo .' if ($version eq $rawrel);
|
assert_script_run 'cp /etc/yum.repos.d/koji-rawhide.repo .' if ($version eq $rawrel);
|
||||||
|
Loading…
Reference in New Issue
Block a user