summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac5
-rw-r--r--system-preset/99-default.preset1
3 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 3a3d585..c0bbe5e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,6 +11,8 @@ dist_tmpfiles_DATA = \
dist_systemdsystemunit_DATA = \
mounts/var-lock.mount \
mounts/var-run.mount
+dist_systemdsystempreset_DATA = \
+ system-preset/99-default.preset
dist_systemdsystemgenerator_SCRIPTS = \
system-generators/gentoo-local-generator
diff --git a/configure.ac b/configure.ac
index abcd3a2..d8d6b2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,11 @@ if test -z "$systemdsystemgeneratordir"; then
AC_MSG_ERROR([systemdsystemgeneratordir must be set])
fi
+SYSTEMD_SYSTEMPRESETDIR
+if test -z "$systemdsystempresetdir"; then
+ AC_MSG_ERROR([systemdsystempresetdir must be set])
+fi
+
PKG_CHECK_VAR([udevdir], [udev], [udevdir], [], [udevdir=/lib/udev])
AC_CONFIG_FILES([Makefile])
diff --git a/system-preset/99-default.preset b/system-preset/99-default.preset
new file mode 100644
index 0000000..1f29b50
--- /dev/null
+++ b/system-preset/99-default.preset
@@ -0,0 +1 @@
+disable *