From 2605f73568ba2e4a685a6d71a6c7f4ced825a06c Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Thu, 8 Aug 2024 09:44:31 -0700 Subject: [PATCH] fix: Move policy.json back to /usr/etc temporarily while issues are worked out --- files/{ => usr}/etc/containers/policy.json | 0 rpmspec/ublue-os-signing.spec | 10 +++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) rename files/{ => usr}/etc/containers/policy.json (100%) diff --git a/files/etc/containers/policy.json b/files/usr/etc/containers/policy.json similarity index 100% rename from files/etc/containers/policy.json rename to files/usr/etc/containers/policy.json diff --git a/rpmspec/ublue-os-signing.spec b/rpmspec/ublue-os-signing.spec index e53346c8..78d05ef9 100644 --- a/rpmspec/ublue-os-signing.spec +++ b/rpmspec/ublue-os-signing.spec @@ -1,7 +1,7 @@ Name: ublue-os-signing Packager: ublue-os Vendor: ublue-os -Version: 0.3 +Version: 0.4 Release: 1%{?dist} Summary: Signing files and keys for Universal Blue License: MIT @@ -23,24 +23,28 @@ Adds files and keys for signing Universal Blue images mkdir -p -m0755 %{buildroot}%{_datadir}/%{VENDOR} mkdir -p -m0755 %{buildroot}%{_sysconfdir}/containers/registries.d mkdir -p -m0755 %{buildroot}%{_sysconfdir}/pki +mkdir -p -m0755 %{buildroot}%{_exec_prefix}/etc/containers tar xf %{SOURCE0} -C %{buildroot}%{_datadir}/%{VENDOR} --strip-components=1 tar xf %{SOURCE0} -C %{buildroot} --strip-components=2 %files %dir %attr(0755,root,root) %{_datadir}/%{VENDOR}/%{sub_name} -%attr(0644,root,root) %{_datadir}/%{VENDOR}/%{sub_name}/%{_sysconfdir}/containers/policy.json +%attr(0644,root,root) %{_datadir}/%{VENDOR}/%{sub_name}/%{_exec_prefix}/etc/containers/policy.json %attr(0644,root,root) %{_datadir}/%{VENDOR}/%{sub_name}/%{_sysconfdir}/containers/registries.d/ublue-os.yaml %attr(0644,root,root) %{_datadir}/%{VENDOR}/%{sub_name}/%{_sysconfdir}/pki/containers/ublue-os.pub %attr(0644,root,root) %{_datadir}/%{VENDOR}/%{sub_name}/%{_sysconfdir}/containers/registries.d/quay.io-toolbx-images.yaml %attr(0644,root,root) %{_datadir}/%{VENDOR}/%{sub_name}/%{_sysconfdir}/pki/containers/quay.io-toolbx-images.pub -%attr(0644,root,root) %{_sysconfdir}/containers/policy.json +%attr(0644,root,root) %{_exec_prefix}/etc/containers/policy.json %attr(0644,root,root) %{_sysconfdir}/containers/registries.d/ublue-os.yaml %attr(0644,root,root) %{_sysconfdir}/pki/containers/ublue-os.pub %attr(0644,root,root) %{_sysconfdir}/containers/registries.d/quay.io-toolbx-images.yaml %attr(0644,root,root) %{_sysconfdir}/pki/containers/quay.io-toolbx-images.pub %changelog +* Thu Aug 08 2024 Kyle Gospodnetich - 0.4 +- Moved policy.json back to /usr/etc/ temporarily + * Wed Aug 07 2024 Kyle Gospodnetich - 0.3 - Moved files from /usr/etc/ to /etc/