summaryrefslogtreecommitdiff
path: root/mkosi.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 1c24b4f51a..fb59d31115 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -18,6 +18,9 @@ EOF
# `systemd-hwdb update` takes > 50s when built with sanitizers so let's not run it by default.
systemctl mask systemd-hwdb-update.service
fi
+
+ # 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