[oe] [PATCH 2/2] systemd: split out systemd-analyze

Anders Darander anders at chargestorm.se
Tue Jan 10 07:53:25 UTC 2012


* Koen Kooi <koen at dominion.thruhere.net> [120110 08:27]:

> Op 09-01-12 14:37, Anders Darander schreef:
> > * Martin Jansa <martin.jansa at gmail.com> [120109 14:28]:

> >> On Mon, Jan 09, 2012 at 02:18:38PM +0100, Anders Darander wrote:
> >>> 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).

> >>> +PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs
> >>> ${PN}-analyze"

> >>> USERADD_PACKAGES = "${PN}" GROUPADD_PARAM_${PN} = "-r lock"

> >>> +FILES_${PN}-analyze = "${bindir}/systemd-analyze"

> >> according to your commit message, why not add RDEPENDS_${PN}-analyze =
> >> "python" here?

> > Yes, I should probably spin a v2 with: RDEPENDS_${PN}-analyze =
> > "python-dbus" as python alone isn't enough to run systemd-analyze.

> Don't forget python-pycairo for 'systemd-analyze plot'

Thanks, I'll add it as a RRECOMMENDS and send an updated patch series.
(I've only used systemd an headless systems, without any graphics
libraries at all, thus never been running systemd-analyze plot)

I'll use RRECOMMENDS as it is not necessary for running systemd-analyze,
which python-dbus is. Well, it is necessary for running 'systemd-analyze
plot', but not for the other commands in systemd-analyze.

Cheers,
Anders

-- 
Anders Darander
ChargeStorm AB / eStorm AB




More information about the Openembedded-devel mailing list