From 1ff60195945259336f3b0f79fddec205f79b3803 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sun, 9 Sep 2018 09:04:48 -0400 Subject: [PATCH] post: Disable modular repositories See https://github.com/projectatomic/rpm-ostree/issues/1435 and https://github.com/projectatomic/rpm-ostree/issues/1542#issuecomment-419684977 --- post.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/post.sh b/post.sh index 77c5977..39db86f 100755 --- a/post.sh +++ b/post.sh @@ -5,6 +5,11 @@ set -xeuo pipefail +# https://github.com/projectatomic/rpm-ostree/issues/1542#issuecomment-419684977 +for x in /etc/yum.repos.d/*modular.repo; do + sed -i -e 's,enabled=[01],enabled=0,' ${x} +done + # Work around https://bugzilla.redhat.com/show_bug.cgi?id=1265295 # Also note the create-new-then-rename dance for rofiles-fuse compat if ! grep -q '^Storage=persistent' /etc/systemd/journald.conf; then