mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-26 19:41:35 +08:00
ci: upgrade to criu-4.1-2 in Fedora
Package criu-4.1-1 has a known bug [1] which is fixed in criu-4.1-2 [2],
which is currently only available in updates-testing. Add a kludge to
install newer criu if necessary to fix CI.
This will not be needed in ~2 weeks once the new package is promoted to
updates.
[1]: https://github.com/checkpoint-restore/criu/issues/2650
[2]: https://bodhi.fedoraproject.org/updates/FEDORA-2025-d374d8ce17
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 3e3e04824d
)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -7,6 +7,13 @@ for i in $(seq 0 2); do
|
||||
sleep "$i"
|
||||
"${DNF[@]}" update && "${DNF[@]}" install "${RPMS[@]}" && break
|
||||
done
|
||||
|
||||
# criu-4.1-1 has a known bug (https://github.com/checkpoint-restore/criu/issues/2650)
|
||||
# which is fixed in criu-4.1-2 (currently in updates-testing). TODO: remove this later.
|
||||
if [[ $(rpm -q criu) == "criu-4.1-1.fc"* ]]; then
|
||||
"${DNF[@]}" --enablerepo=updates-testing update criu
|
||||
fi
|
||||
|
||||
dnf clean all
|
||||
|
||||
# To avoid "avc: denied { nosuid_transition }" from SELinux as we run tests on /tmp.
|
||||
|
Reference in New Issue
Block a user