From 950eca4011488f8aaf6a4487f4aab7617319f9c5 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Sep 10 2018 18:58:17 +0000 Subject: post: Disable modular repositories See https://github.com/projectatomic/rpm-ostree/issues/1435 and https://github.com/projectatomic/rpm-ostree/issues/1542#issuecomment-419684977 --- diff --git a/treecompose-post.sh b/treecompose-post.sh index 3658863..ed3091d 100755 --- a/treecompose-post.sh +++ b/treecompose-post.sh @@ -2,6 +2,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