]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Drop opensuse workaround
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 21 Feb 2023 12:03:36 +0000 (13:03 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 21 Feb 2023 12:11:52 +0000 (13:11 +0100)
mkosi.postinst

index cf6f9df391d0d19001c54ef00eb73bddd3f7eb23..fc2aeabf4e76a2ea45525655e49a1ea085491c1c 100755 (executable)
@@ -18,13 +18,3 @@ EOF
     # Make sure dnsmasq.service doesn't start on boot on Debian/Ubuntu.
     rm -f /etc/systemd/system/multi-user.target.wants/dnsmasq.service
 fi
-
-# Temporary workaround until https://github.com/openSUSE/suse-module-tools/commit/158643414ddb8d8208016a5f03a4484d58944d7a
-# gets into OpenSUSE repos
-if [ "$1" = "final" ] && grep -q openSUSE /etc/os-release; then
-    if [ -e "/usr/lib/systemd/system/boot-sysctl.service" ] && \
-       ! grep -F -q 'ConditionPathExists=/boot/sysctl.conf' "/usr/lib/systemd/system/boot-sysctl.service"; then
-        mkdir -p "/etc/systemd/system/boot-sysctl.service.d/"
-        printf '[Unit]\nConditionPathExists=/boot/sysctl.conf-%%v' >"/etc/systemd/system/boot-sysctl.service.d/99-temporary-workaround.conf"
-    fi
-fi