From d4d752efdc05e21842a6e4e05dd5ed869676d86b Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Thu, 8 Aug 2024 09:19:28 -0700 Subject: [PATCH] fix: Remove container policy prior to ublue-os-signing install --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 101d9ea0..94b03cbd 100755 --- a/install.sh +++ b/install.sh @@ -18,6 +18,9 @@ curl -Lo /tmp/rpm-repos/rpmfusion-nonfree-release-"${RELEASE}".noarch.rpm "${RPM curl -Lo /etc/yum.repos.d/_copr_ublue-os_staging.repo https://copr.fedorainfracloud.org/coprs/ublue-os/staging/repo/fedora-"${RELEASE}"/ublue-os-staging-fedora-"${RELEASE}".repo curl -Lo /etc/yum.repos.d/_copr_kylegospo_oversteer.repo https://copr.fedorainfracloud.org/coprs/kylegospo/oversteer/repo/fedora-"${RELEASE}"/kylegospo-oversteer-fedora-"${RELEASE}".repo +# Remove existing container policy provided by containers-common, file from ublue-os-signing will replace it +rm -f /etc/containers/policy.json + rpm-ostree install \ /tmp/rpms/*.rpm \ /tmp/rpm-repos/*.rpm \