import osbuild-composer-67-1.el8
This commit is contained in:
parent
8ff5d9b529
commit
f70f459c03
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/osbuild-composer-62.tar.gz
|
||||
SOURCES/osbuild-composer-67.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
507b6d1c7dd00aafb3fc3988d7a1f61be10a0c03 SOURCES/osbuild-composer-62.tar.gz
|
||||
f69958ce00b7640e4ff730648dff7e790898c7f2 SOURCES/osbuild-composer-67.tar.gz
|
||||
|
@ -0,0 +1,38 @@
|
||||
From 1e5a7526369ec0bfd4bd5c536ff16f534f023fd5 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= <thozza@redhat.com>
|
||||
Date: Wed, 2 Nov 2022 12:18:46 +0100
|
||||
Subject: [PATCH] tools/provision.sh: copy RHEL repo overrides using wildcard
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Don't list specific RHEL repos which should be copied over to the repo
|
||||
overrides directory, but instead copy all of them, similar to how it's
|
||||
done for Fedora and CentOS Stream. This is less error prone when support
|
||||
for a new RHEL release is added to composer.
|
||||
|
||||
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
|
||||
---
|
||||
tools/provision.sh | 6 +-----
|
||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
||||
|
||||
diff --git a/tools/provision.sh b/tools/provision.sh
|
||||
index 93f8cccbd..09265f907 100755
|
||||
--- a/tools/provision.sh
|
||||
+++ b/tools/provision.sh
|
||||
@@ -140,11 +140,7 @@ else # AUTH_METHOD_NONE
|
||||
# Copy all fedora repo overrides
|
||||
sudo cp -a /usr/share/tests/osbuild-composer/repositories/{fedora,centos}-*.json "$REPODIR"
|
||||
# Copy RHEL point release repos
|
||||
- sudo cp /usr/share/tests/osbuild-composer/repositories/rhel-85.json "$REPODIR"
|
||||
- sudo cp /usr/share/tests/osbuild-composer/repositories/rhel-86.json "$REPODIR"
|
||||
- sudo cp /usr/share/tests/osbuild-composer/repositories/rhel-87.json "$REPODIR"
|
||||
- sudo cp /usr/share/tests/osbuild-composer/repositories/rhel-90.json "$REPODIR"
|
||||
- sudo cp /usr/share/tests/osbuild-composer/repositories/rhel-91.json "$REPODIR"
|
||||
+ sudo cp -a /usr/share/tests/osbuild-composer/repositories/rhel-*.json "$REPODIR"
|
||||
|
||||
# override source repositories to consume content from the nightly compose
|
||||
if [ "${NIGHTLY:=false}" == "true" ]; then
|
||||
--
|
||||
2.37.3
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
%global goipath github.com/osbuild/osbuild-composer
|
||||
|
||||
Version: 62
|
||||
Version: 67
|
||||
|
||||
%gometa
|
||||
|
||||
@ -33,6 +33,8 @@ License: ASL 2.0
|
||||
URL: %{gourl}
|
||||
Source0: %{gosource}
|
||||
|
||||
# https://github.com/osbuild/osbuild-composer/pull/3111
|
||||
Patch0: tools-provision.sh-copy-RHEL-repo-overrides-using-wi.patch
|
||||
|
||||
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
|
||||
BuildRequires: systemd
|
||||
@ -251,9 +253,6 @@ install -m 0644 -vp test/data/koji/* %{buildroot}%
|
||||
install -m 0755 -vd %{buildroot}%{_datadir}/tests/osbuild-composer/x509
|
||||
install -m 0644 -vp test/data/x509/* %{buildroot}%{_datadir}/tests/osbuild-composer/x509/
|
||||
|
||||
install -m 0755 -vd %{buildroot}%{_datadir}/tests/osbuild-composer/openshift
|
||||
install -m 0644 -vp test/data/openshift/* %{buildroot}%{_datadir}/tests/osbuild-composer/openshift/
|
||||
|
||||
install -m 0755 -vd %{buildroot}%{_datadir}/tests/osbuild-composer/schemas
|
||||
install -m 0644 -vp pkg/jobqueue/dbjobqueue/schemas/* %{buildroot}%{_datadir}/tests/osbuild-composer/schemas/
|
||||
|
||||
@ -309,10 +308,10 @@ The core osbuild-composer binary. This is suitable both for spawning in containe
|
||||
Summary: The worker for osbuild-composer
|
||||
Requires: systemd
|
||||
Requires: qemu-img
|
||||
Requires: osbuild >= 63
|
||||
Requires: osbuild-ostree >= 63
|
||||
Requires: osbuild-lvm2 >= 63
|
||||
Requires: osbuild-luks2 >= 63
|
||||
Requires: osbuild >= 70
|
||||
Requires: osbuild-ostree >= 70
|
||||
Requires: osbuild-lvm2 >= 70
|
||||
Requires: osbuild-luks2 >= 70
|
||||
Requires: %{name}-dnf-json = %{version}-%{release}
|
||||
|
||||
%description worker
|
||||
@ -353,6 +352,12 @@ The dnf-json binary used by osbuild-composer and the workers.
|
||||
%files dnf-json
|
||||
%{_libexecdir}/osbuild-composer/dnf-json
|
||||
|
||||
%post dnf-json
|
||||
# Fix ownership of the rpmmd cache files from previous versions where it was owned by root:root
|
||||
if [ -e /var/cache/osbuild-composer/rpmmd ]; then
|
||||
chown -f -R --from root:root _osbuild-composer:_osbuild-composer /var/cache/osbuild-composer/rpmmd
|
||||
fi
|
||||
|
||||
%if %{with tests} || 0%{?rhel}
|
||||
|
||||
%package tests
|
||||
@ -424,6 +429,9 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Nov 02 2022 imagebuilder-bots+imagebuilder-bot@redhat.com <imagebuilder-bot> - 67-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Aug 29 2022 Ondřej Budai <ondrej@budai.cz> - 62-1
|
||||
- New upstream release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user