From 93ee99d8e926fd901c2fc9b83c03bf92a07698f7 Mon Sep 17 00:00:00 2001 From: Anders Darander Date: Thu, 19 Jan 2012 19:53:07 +0000 Subject: [PATCH] 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. (From meta-openembedded rev: acfe5820feacb045751e8f9c63cb020427fcfd35) Signed-off-by: Anders Darander Signed-off-by: Otavio Salvador Signed-off-by: Koen Kooi Signed-off-by: Patrick Ohly --- meta-openembedded/meta-oe/recipes-core/systemd/systemd_git.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta-openembedded/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-openembedded/meta-oe/recipes-core/systemd/systemd_git.bb index 32bdee9..b779f61 100644 --- a/meta-openembedded/meta-oe/recipes-core/systemd/systemd_git.bb +++ b/meta-openembedded/meta-oe/recipes-core/systemd/systemd_git.bb @@ -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}" -- 2.7.4