diff options
author | Sam James <sam@gentoo.org> | 2023-03-25 04:28:15 +0000 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-26 13:08:11 +0200 |
commit | 6ca17060ef82d9ddea87c7240371c7c3e8b682bf (patch) | |
tree | cc77266637bf0dc1dd03ac8f2b8bf71e3a580b00 /kde-plasma | |
parent | dev-libs/qcoro5: add 0.8.0 (diff) | |
download | gentoo-6ca17060ef82d9ddea87c7240371c7c3e8b682bf.tar.gz gentoo-6ca17060ef82d9ddea87c7240371c7c3e8b682bf.tar.bz2 gentoo-6ca17060ef82d9ddea87c7240371c7c3e8b682bf.zip |
kde-plasma/drkonqi: add systemd-coredumpd integration instructions
Closes: https://bugs.gentoo.org/896092
Signed-off-by: Sam James <sam@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/30336
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma')
-rw-r--r-- | kde-plasma/drkonqi/drkonqi-5.27.3.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/kde-plasma/drkonqi/drkonqi-5.27.3.ebuild b/kde-plasma/drkonqi/drkonqi-5.27.3.ebuild index aa84a15f2e78..6497607be1b8 100644 --- a/kde-plasma/drkonqi/drkonqi-5.27.3.ebuild +++ b/kde-plasma/drkonqi/drkonqi-5.27.3.ebuild @@ -6,7 +6,7 @@ EAPI=8 KFMIN=5.102.0 PVCUT=$(ver_cut 1-3) QTMIN=5.15.7 -inherit ecm plasma.kde.org +inherit ecm plasma.kde.org systemd DESCRIPTION="Plasma crash handler, gives the user feedback if a program crashed" SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PN}-5.27.1-revert-add-sentry-support.patch.xz" @@ -58,3 +58,12 @@ src_test() { ) ecm_src_test } + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] && systemd_is_booted ; then + elog "For systemd, steps are needed for integration with systemd-coredumpd." + elog "As root, run the following:" + elog "1. systemctl enable drkonqi-coredump-processor@.service" + elog "2. systemctl --user enable --now --global drkonqi-coredump-launcher.socket" + fi +} |