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

Anders Darander anders at chargestorm.se
Mon Jan 9 13:44:42 UTC 2012


* Anders Darander <anders at chargestorm.se> [120109 14:37]:
> * 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.

Just pushed the above fix to the same systemd-move branch on github.

Cheers,
Anders

> 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!

-- 
Anders Darander
ChargeStorm AB / eStorm AB




More information about the Openembedded-devel mailing list