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

Anders Darander anders at chargestorm.se
Mon Jan 9 13:37:08 UTC 2012


* 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.

Missing that as on our larger image, python was always explicitly
installed by other packages, and on this smaller one, we didn't want it.
Good catch, though!

> and maybe
> RSUGGESTS_${PN} += "${PN}-analyze"

Not sure about this one. It should probably be safe to add, although I'm
undecided...

Cheers,
Anders

> > +
> >  FILES_${PN}-initramfs = "/init"
> >  RDEPENDS_${PN}-initramfs = "${PN}"
-- 
Anders Darander
ChargeStorm AB / eStorm AB




More information about the Openembedded-devel mailing list