From patchwork Tue Jan 10 09:00:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-oe,v2,1/3] systemd: split out systemd-analyze Date: Tue, 10 Jan 2012 09:00:37 -0000 From: Anders Darander X-Patchwork-Id: 18903 Message-Id: To: 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. Signed-off-by: Anders Darander --- meta-oe/recipes-core/systemd/systemd_git.bb | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb index bdaaf16..0fa61a7 100644 --- a/meta-oe/recipes-core/systemd/systemd_git.bb +++ b/meta-oe/recipes-core/systemd/systemd_git.bb @@ -14,7 +14,7 @@ inherit gitpkgv PKGV = "v${GITPKGVTAG}" PV = "git" -PR = "r7" +PR = "r8" inherit useradd pkgconfig autotools vala perlnative @@ -57,11 +57,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}"