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

Martin Jansa martin.jansa at gmail.com
Mon Jan 9 13:28:16 UTC 2012


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).
> 
> Signed-off-by: Anders Darander <anders at chargestorm.se>
> ---
>  meta-oe/recipes-core/systemd/systemd_git.bb |    6 ++++--
>  1 files changed, 4 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..1d71bb6 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,13 @@ 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"

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

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

> +
>  FILES_${PN}-initramfs = "/init"
>  RDEPENDS_${PN}-initramfs = "${PN}"
>  
> -- 
> 1.7.8.2
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20120109/f4c9129f/attachment-0002.sig>


More information about the Openembedded-devel mailing list