From 5836ef90da69e3d69f22edfa38bec4b630a90f4a Mon Sep 17 00:00:00 2001 From: Benjamin Sherman Date: Sun, 23 Jul 2023 09:42:48 -0500 Subject: [PATCH] fix: allow podman to use containers-storage transport locally (#83) Incidentally fixes typos in dates on spec files which were found during testing. closes #82 Co-authored-by: Jorge O. Castro --- build/ublue-os-just/ublue-os-just.spec | 2 +- files/usr/etc/containers/policy.json | 9 ++++++++- rpmspec/ublue-os-udev-rules.spec | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/build/ublue-os-just/ublue-os-just.spec b/build/ublue-os-just/ublue-os-just.spec index ba2244eb..1d4be9d5 100644 --- a/build/ublue-os-just/ublue-os-just.spec +++ b/build/ublue-os-just/ublue-os-just.spec @@ -38,7 +38,7 @@ install -Dm755 %{SOURCE0} %{buildroot}%{_sysconfdir}/profile.d/ublue-os-just.sh %attr(0755,root,root) %{_sysconfdir}/profile.d/ublue-os-just.sh %changelog -* Sun May 13 2023 Benjamin Sherman - 0.2 +* Sat May 13 2023 Benjamin Sherman - 0.2 - Refactor directory structure - Rename justfile to main.just - Add nvidia.just and custom.just diff --git a/files/usr/etc/containers/policy.json b/files/usr/etc/containers/policy.json index 5895ea61..aca24522 100644 --- a/files/usr/etc/containers/policy.json +++ b/files/usr/etc/containers/policy.json @@ -49,6 +49,13 @@ } ] }, + "containers-storage": { + "": [ + { + "type": "insecureAcceptAnything" + } + ] + }, "dir": { "": [ { @@ -71,4 +78,4 @@ ] } } -} \ No newline at end of file +} diff --git a/rpmspec/ublue-os-udev-rules.spec b/rpmspec/ublue-os-udev-rules.spec index 1f622f91..69441470 100644 --- a/rpmspec/ublue-os-udev-rules.spec +++ b/rpmspec/ublue-os-udev-rules.spec @@ -45,7 +45,7 @@ cp %{buildroot}%{_datadir}/%{VENDOR}/{%{sub_name}/etc/udev/rules.d,game-devices- %changelog -* Thu May 13 2023 Benjamin Sherman - 0.4 +* Sat May 13 2023 Benjamin Sherman - 0.4 - Add usb-realtek-net rules * Fri May 12 2023 Benjamin Sherman - 0.3