diff options
author | Jon Ringle <jringle@gridpoint.com> | 2014-10-06 22:42:16 -0400 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-10-12 22:48:15 +0200 |
commit | 8f532a4d98012db192a45e7a4e3e703879e42340 (patch) | |
tree | 6e5af94ad15d74f7cdb05ae34dc8d1cb7413f096 | |
parent | 09135995648375b1a19bad8419fa59c2f459bd6a (diff) | |
download | ptxdist-8f532a4d98012db192a45e7a4e3e703879e42340.tar.gz ptxdist-8f532a4d98012db192a45e7a4e3e703879e42340.tar.xz |
systemd: coredumpctl and configuration files
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/systemd.make | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/systemd.make b/rules/systemd.make index 6a7bf3a94..7df6535dd 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 |