]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Drop syslog.service removal logic on centos
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 14 Apr 2023 14:23:26 +0000 (16:23 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 15 Apr 2023 17:37:41 +0000 (19:37 +0200)
Another case where we should stop mucking around with distro defaults
too much.

mkosi/distributions/centos.py

index bce12d29f3bd2d92630c10b02312484e34085572..441ffc96e29085c3080afcdb763f7f01120c0e21 100644 (file)
@@ -96,10 +96,6 @@ class CentosInstaller(DistributionInstaller):
 
         invoke_dnf(state, "install", ["filesystem", *state.config.packages], env)
 
-        syslog = state.root.joinpath("etc/systemd/system/syslog.service")
-        if release <= 8 and syslog.is_symlink():
-            syslog.unlink()
-
         # On Fedora, the default rpmdb has moved to /usr/lib/sysimage/rpm so if that's the case we need to
         # move it back to /var/lib/rpm on CentOS.
         move_rpm_db(state.root)