aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-08-22 16:12:02 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-08-23 12:07:38 +0000
commit9710e7e3e8bc9e0e6377710ba743c449c27eac96 (patch)
treed1c976ff5db2b8afddbd63a4d536ef00d7ebc3f5
parent6da5cf9ad4871fde608b2454d0119350d0f52a0d (diff)
Make it possible to use systemd-coredump for development
For development, systemd-coredump should be enabled especially for meta-agl/meta-agl-demo because all applications which compatible with agl appfw are running on systemd. This patch make systemd-coredump available when agl-devel is set on (run aglsetup.sh with 'agl-devel'). The core dump files are stored in /var/lib/systemd/coredump/ and 'coredumpctl' is helpful to use dump files. Change-Id: Ic8a011e96fe36be0266389c03d761d1b8e78bf68 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
-rw-r--r--meta-agl-profile-core/files/group1
-rw-r--r--meta-agl-profile-core/files/passwd1
-rw-r--r--meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend3
3 files changed, 5 insertions, 0 deletions
diff --git a/meta-agl-profile-core/files/group b/meta-agl-profile-core/files/group
index f8a3843bd..77fb6ebc0 100644
--- a/meta-agl-profile-core/files/group
+++ b/meta-agl-profile-core/files/group
@@ -52,6 +52,7 @@ weston-launch::986:
lock::990:
systemd-journal::989:
systemd-timesync::988:
+systemd-coredump::888:
pulse::991:
bind::987:
trinity::985:
diff --git a/meta-agl-profile-core/files/passwd b/meta-agl-profile-core/files/passwd
index 754cb819a..def1bb791 100644
--- a/meta-agl-profile-core/files/passwd
+++ b/meta-agl-profile-core/files/passwd
@@ -26,6 +26,7 @@ agl-passenger::1002:1002:::
messagebus::994:994:::
afm::992:992:::
systemd-timesync::988:988:::
+systemd-coredump::888:888:::
pulse::991:991:::
bind::987:987:::
trinity::985:985:::
diff --git a/meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend b/meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend
index f64ca8c8a..815fed8a3 100644
--- a/meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend
+++ b/meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend
@@ -24,3 +24,6 @@ FILES_${PN} += "${sysconfdir}/e2fsck.conf "
# SPEC-737: connmand also has a NTP client which races with systemd-timesyncd
PACKAGECONFIG_remove = "timesyncd"
+
+# Enable systemd-coredump when agl-devel is set on
+PACKAGECONFIG_append_agl-devel = " coredump"