mirror of
https://github.com/coreos/fedora-coreos-config.git
synced 2026-02-05 09:45:30 +01:00
tree: import changes from testing-devel at 31598a1705
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#
|
||||
# This image is used by CoreOS CI to build software like
|
||||
# Ignition, rpm-ostree, ostree, coreos-installer, etc...
|
||||
FROM quay.io/fedora/fedora:41
|
||||
FROM quay.io/fedora/fedora:42
|
||||
# Work around for https://bugzilla.redhat.com/show_bug.cgi?id=2278652
|
||||
ENV container=oci
|
||||
COPY . /src
|
||||
|
||||
@@ -27,10 +27,10 @@ brs=$(grep -v '^#' "${dn}"/buildroot-buildreqs.txt)
|
||||
echo "${brs}" | xargs dnf download --source
|
||||
# rebuild the SRPM for this arch; see
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1402784#c6
|
||||
# Add workaround if on F41 for https://github.com/coreos/fedora-coreos-tracker/issues/1901
|
||||
# Add workaround if on F42 for https://github.com/coreos/fedora-coreos-tracker/issues/1901
|
||||
source /etc/os-release
|
||||
workaround=""
|
||||
if [ "${VERSION_ID}" == "41" ]; then
|
||||
if [ "${VERSION_ID}" == "42" ]; then
|
||||
workaround="--noclean"
|
||||
fi
|
||||
find . -name '*.src.rpm' -print0 | xargs -0n 1 rpmbuild -rs --nodeps \
|
||||
|
||||
Reference in New Issue
Block a user