From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 963B359CA9 for ; Sun, 27 Mar 2016 18:30:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4004421C002; Sun, 27 Mar 2016 18:30:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF57D21C002 for ; Sun, 27 Mar 2016 18:30:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3063A3405D5 for ; Sun, 27 Mar 2016 18:30:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2E1085E for ; Sun, 27 Mar 2016 18:30:03 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1459103311.4250e383fe8c8ff946a709e23f90ea5deced3297.floppym@gentoo> Subject: [gentoo-commits] proj/gentoo-systemd-integration:master commit in: system-preset/, / X-VCS-Repository: proj/gentoo-systemd-integration X-VCS-Files: Makefile.am configure.ac system-preset/99-default.preset X-VCS-Directories: system-preset/ / X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 4250e383fe8c8ff946a709e23f90ea5deced3297 X-VCS-Branch: master Date: Sun, 27 Mar 2016 18:30:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 372334f4-83eb-40ee-90d7-6eef04c6026b X-Archives-Hash: f72b33cef8e51a71e34c77fa216cba10 commit: 4250e383fe8c8ff946a709e23f90ea5deced3297 Author: Mike Gilbert gentoo org> AuthorDate: Sun Mar 27 18:28:31 2016 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sun Mar 27 18:28:31 2016 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-systemd-integration.git/commit/?id=4250e383 Install a system-preset to disable services by default Bug: https://bugs.gentoo.org/578386 Makefile.am | 2 ++ configure.ac | 5 +++++ system-preset/99-default.preset | 1 + 3 files changed, 8 insertions(+) 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 *