From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-vc0-x22b.google.com ([2607:f8b0:400c:c03::22b]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XbKjW-0002EK-HU for ptxdist@pengutronix.de; Tue, 07 Oct 2014 04:42:39 +0200 Received: by mail-vc0-f171.google.com with SMTP id hy10so4089210vcb.2 for ; Mon, 06 Oct 2014 19:42:31 -0700 (PDT) From: jon@ringle.org Date: Mon, 6 Oct 2014 22:42:16 -0400 Message-Id: <1412649737-28949-1-git-send-email-jon@ringle.org> Subject: [ptxdist] [PATCH 1/2] systemd: coredumpctl and configuration files Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Jon Ringle From: Jon Ringle Signed-off-by: Jon Ringle --- rules/systemd.make | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rules/systemd.make b/rules/systemd.make index 6a7bf3a..7df6535 100644 --- a/rules/systemd.make +++ b/rules/systemd.make @@ -291,6 +291,12 @@ endif @$(call install_tree, systemd, 0, 0, -, /usr/lib/tmpfiles.d/) @$(call install_copy, systemd, 0, 0, 0644, -, /usr/lib/sysctl.d/50-default.conf) +ifdef PTXCONF_SYSTEMD_COREDUMP + @$(call install_copy, systemd, 0, 0, 0644, -, /usr/lib/sysctl.d/50-coredump.conf) + @$(call install_copy, systemd, 0, 0, 0755, -, /usr/bin/coredumpctl) + @$(call install_alternative, systemd, 0, 0, 0644, /etc/systemd/coredump.conf) +endif + @$(call install_tree, systemd, 0, 0, -, /usr/share/dbus-1/services/) @$(call install_tree, systemd, 0, 0, -, /usr/share/dbus-1/system-services/) ifdef PTXCONF_SYSTEMD_LOCALES -- 1.8.5.4 -- ptxdist mailing list ptxdist@pengutronix.de