Skip to content

Commit

Permalink
post: Disable modular repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Sep 9, 2018
1 parent 5de5f5c commit 1ff6019
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ff6019

Please sign in to comment.