ci: Add buildroot to c9s build
authorColin Walters <walters@verbum.org>
Thu, 30 May 2024 15:05:20 +0000 (11:05 -0400)
committerColin Walters <walters@verbum.org>
Thu, 30 May 2024 15:05:20 +0000 (11:05 -0400)
Because composefs-devel isn't shipped in RHEL.

ci/Containerfile.c9s
ci/c9s-buildroot.repo [new file with mode: 0644]

index f710134c96b1d1b85af67261a3103842cad4fc15..37abfbe890cc043c5e4dff361db98b00d023f32d 100644 (file)
@@ -1,4 +1,5 @@
 FROM quay.io/centos/centos:stream9 as build
+COPY ci/c9s-buildroot.repo /etc/yum.repos.d
 RUN dnf -y install dnf-utils zstd && dnf config-manager --enable crb && dnf builddep -y ostree
 COPY . /build
 WORKDIR /build
diff --git a/ci/c9s-buildroot.repo b/ci/c9s-buildroot.repo
new file mode 100644 (file)
index 0000000..d1864f3
--- /dev/null
@@ -0,0 +1,7 @@
+[buildroot]
+name=CentOS Stream $releasever - Koji Local - BUILDROOT ONLY!
+baseurl=https://kojihub.stream.centos.org/kojifiles/repos/c9s-build/latest/$basearch/
+cost=2000
+enabled=1
+skip_if_unavailable=False
+gpgcheck=0