diff options
author | 2016-03-27 14:28:31 -0400 | |
---|---|---|
committer | 2016-03-27 14:28:31 -0400 | |
commit | 4250e383fe8c8ff946a709e23f90ea5deced3297 (patch) | |
tree | adebb2ec093b7ce0d4744d16dc296ccb1360e0a0 | |
parent | Bump version to 5 (diff) | |
download | gentoo-systemd-integration-4250e383fe8c8ff946a709e23f90ea5deced3297.tar.gz gentoo-systemd-integration-4250e383fe8c8ff946a709e23f90ea5deced3297.tar.bz2 gentoo-systemd-integration-4250e383fe8c8ff946a709e23f90ea5deced3297.zip |
Install a system-preset to disable services by default
Bug: https://bugs.gentoo.org/578386
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | system-preset/99-default.preset | 1 |
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 * |