post: Disable modular repositories
See https://github.com/projectatomic/rpm-ostree/issues/1435 and https://github.com/projectatomic/rpm-ostree/issues/1542#issuecomment-419684977
This commit is contained in:
parent
5de5f5c7f3
commit
1ff6019594
1 changed files with 5 additions and 0 deletions
5
post.sh
5
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
|
||||
|
|
Loading…
Reference in a new issue