summaryrefslogtreecommitdiff
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-02-21 13:03:36 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-02-21 13:11:52 +0100
commitbfe6bd1789258287ef6fbed3bf569bbfb1f38e82 (patch)
treee9e63aba5ae32c5d015047811c7fa313012bde18 /mkosi.postinst
parent51c31ed7d75f680467c59ef54eb8670cc1279fa1 (diff)
downloadsystemd-bfe6bd1789258287ef6fbed3bf569bbfb1f38e82.tar.gz
mkosi: Drop opensuse workaround
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst10
1 files changed, 0 insertions, 10 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index cf6f9df391..fc2aeabf4e 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -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