From: jon@ringle.org
To: ptxdist@pengutronix.de
Cc: Jon Ringle <jringle@gridpoint.com>
Subject: [ptxdist] [PATCH v3 2/2] systemd: PTXCONF_SYSTEMD_COREDUMP
Date: Wed, 1 Oct 2014 01:09:57 -0400 [thread overview]
Message-ID: <1412140197-32021-2-git-send-email-jon@ringle.org> (raw)
In-Reply-To: <1412140197-32021-1-git-send-email-jon@ringle.org>
From: Jon Ringle <jringle@gridpoint.com>
Allow coredumpctl to be built and installed to debug crashing systemd
services
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---
rules/systemd.in | 6 ++++++
rules/systemd.make | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/rules/systemd.in b/rules/systemd.in
index ba69d8b..b6cdc1b 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -81,5 +81,11 @@ config SYSTEMD_TIMEDATE
help
NTP client for time synchronization and local timezone handling.
+config SYSTEMD_COREDUMP
+ bool
+ prompt "enable generating coredumps"
+ help
+ Enable this only if you need to debug a crashing systemd service
+
endif
diff --git a/rules/systemd.make b/rules/systemd.make
index 51ffcac..110f6a5 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -102,7 +102,7 @@ SYSTEMD_CONF_OPT := \
--$(call ptx/endis,PTXCONF_SYSTEMD_TIMEDATE)-timedated \
--$(call ptx/endis,PTXCONF_SYSTEMD_TIMEDATE)-timesyncd \
--$(call ptx/endis,PTXCONF_SYSTEMD_LOCALES)-localed \
- --disable-coredump \
+ --$(call ptx/endis,PTXCONF_SYSTEMD_COREDUMP)-coredump \
--disable-polkit \
--$(call ptx/endis,PTXCONF_SYSTEMD_NETWORK)-resolved \
--$(call ptx/endis,PTXCONF_SYSTEMD_NETWORK)-networkd \
@@ -170,6 +170,7 @@ SYSTEMD_HELPER := \
systemd-bootchart \
systemd-bus-proxyd \
systemd-cgroups-agent \
+ $(call ptx/ifdef, PTXCONF_SYSTEMD_COREDUMP,systemd-coredump,) \
systemd-fsck \
systemd-hostnamed \
systemd-initctl \
--
1.8.5.4
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2014-10-01 5:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-01 5:09 [ptxdist] [PATCH v3 1/2] install_dir: Allow one to specify an alternate root dir jon
2014-10-01 5:09 ` jon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1412140197-32021-2-git-send-email-jon@ringle.org \
--to=jon@ringle.org \
--cc=jringle@gridpoint.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox