mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-18 13:11:57 +02:00
* Clarify licensing and switch to github for fetching
* Delete empty /var/run
Fixes
minicoredumper-2.0.0: minicoredumper: Files/directories were installed but not shipped in any package:
/run
Signed-off-by: Khem Raj <raj.khem@gmail.com>
40 lines
1.4 KiB
BlitzBasic
40 lines
1.4 KiB
BlitzBasic
SUMMARY = "minicoredumper provides an alternate core dump facility for Linux \
|
|
to allow minimal and customized crash dumps"
|
|
LICENSE = " LGPLv2.1 & BSD-2-Clause"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=709087c2ed0acda54a4d91497a889e42 \
|
|
file://COPYING.BSD;md5=b915ac80d5236d6aa659cb986daf00e5 \
|
|
file://COPYING.LGPLv2.1;md5=321bf41f280cf805086dd5a720b37785 \
|
|
"
|
|
DEPENDS = "elfutils dbus dbus-glib-native glib-2.0 dbus-glib util-linux json-c"
|
|
|
|
inherit autotools pkgconfig systemd update-rc.d
|
|
|
|
SRCREV = "248019446ccf6079926efb54f8b6dd7be769bbae"
|
|
|
|
PR .= "+git${SRCPV}"
|
|
|
|
SRC_URI = "git://github.com/Linutronix/minicoredumper-debian;branch=unstable \
|
|
file://minicoredumper.service \
|
|
file://minicoredumper.init \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
SYSTEMD_SERVICE_${PN} = "minicoredumper.service"
|
|
SYSTEMD_AUTO_ENABLE = "enable"
|
|
|
|
INITSCRIPT_PACKAGES = "${PN}"
|
|
INITSCRIPT_NAME_${PN} = "minicoredumper"
|
|
INITSCRIPT_PARAMS_${PN} = "defaults 89"
|
|
|
|
do_install_append() {
|
|
rmdir ${D}${localstatedir}/run
|
|
install -d ${D}/${sysconfdir}/minicoredumper
|
|
cp -rf ${S}/etc/* ${D}/${sysconfdir}/
|
|
|
|
install -d ${D}${systemd_system_unitdir}
|
|
install -m 0644 ${WORKDIR}/minicoredumper.service ${D}${systemd_system_unitdir}
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -m 0644 ${WORKDIR}/minicoredumper.init ${D}${sysconfdir}/init.d/minicoredumper
|
|
}
|