Undo rpm scripts enabling units, use only systemd presets

Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
This commit is contained in:
Paul Whalen 2023-11-27 15:30:29 -05:00
commit d085d6d819

View file

@ -20,3 +20,10 @@ done
# Will be obsolete once we start using bootupd
# See - https://pagure.io/workstation-ostree-config/pull-request/344
rm -rf /usr/lib/ostree-boot/loader
# Undo RPM scripts enabling units; we want the presets to be canonical
# https://github.com/projectatomic/rpm-ostree/issues/1803
rm -rf /etc/systemd/system/*
systemctl preset-all
rm -rf /etc/systemd/user/*
systemctl --user --global preset-all