| Submitter | Anders Darander |
|---|---|
| Date | Jan. 19, 2012, 7:53 p.m. |
| Message ID | <5742b631d5ac1f4d075fbd5f0caa1ef190989342.1327002701.git.anders@chargestorm.se> |
| Download | mbox | patch |
| Permalink | /patch/19797/ |
| State | New, archived |
| Headers | show |
Comments
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> On Thu, Jan 19, 2012 at 17:53, Anders Darander <anders@chargestorm.se>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). > > 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. > > Signed-off-by: Anders Darander <anders@chargestorm.se> > --- > 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.bbb/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}" > > -- > 1.7.8.3 > > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel >
Patch
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}"
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. Signed-off-by: Anders Darander <anders@chargestorm.se> --- meta-oe/recipes-core/systemd/systemd_git.bb | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)