mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
systemd: split out systemd-analyze
Split systemd-analyze to a separate package, to remove the implicit
dependency on python. (At least the rpm-packaging backend created a
run-time dependency on python).
Add an RDEPENDS_${PN}-analyze on python-dbus, as this is required for
systemd-analyze to work.
Add an RRECOMMENDS_${PN}-analyze on python-pycairo, as the plot command
in systemd-analyze requires this package.
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
committed by
Koen Kooi
parent
6cb51af0e1
commit
acfe5820fe
@@ -14,7 +14,7 @@ inherit gitpkgv
|
||||
PKGV = "v${GITPKGVTAG}"
|
||||
|
||||
PV = "git"
|
||||
PR = "r8"
|
||||
PR = "r9"
|
||||
|
||||
inherit useradd pkgconfig autotools vala perlnative
|
||||
|
||||
@@ -58,11 +58,15 @@ do_install() {
|
||||
ln -s ${base_bindir}/systemd ${D}/init
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs"
|
||||
PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs ${PN}-analyze"
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
GROUPADD_PARAM_${PN} = "-r lock"
|
||||
|
||||
FILES_${PN}-analyze = "${bindir}/systemd-analyze"
|
||||
RDEPENDS_${PN}-analyze = "python-dbus"
|
||||
RRECOMMENDS_${PN}-analyze = "python-pycairo"
|
||||
|
||||
FILES_${PN}-initramfs = "/init"
|
||||
RDEPENDS_${PN}-initramfs = "${PN}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user