post.sh: stop disabling modular repos

rpm-ostree understands modules now so it's safe to leave it enabled.
FCOS equivalent: https://github.com/coreos/fedora-coreos-config/pull/1191
This commit is contained in:
Jonathan Lebon 2022-01-12 16:56:00 -05:00
parent 387ad78e4f
commit 635f72795a

View file

@ -5,11 +5,6 @@
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