[oe] [oe-commits] Otavio Salvador : systemd.bbclass: depends on systemd

Martin Jansa martin.jansa at gmail.com
Fri Feb 3 13:14:51 UTC 2012


On Wed, Feb 01, 2012 at 08:04:41AM +0000, git at git.openembedded.org wrote:
> Module: meta-openembedded.git
> Branch: master
> Commit: c029d4a268de1ac7076fbeb9e337e96fdb1b226d
> URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=c029d4a268de1ac7076fbeb9e337e96fdb1b226d
> 
> Author: Otavio Salvador <otavio at ossystems.com.br>
> Date:   Tue Jan 31 17:38:57 2012 +0000
> 
> systemd.bbclass: depends on systemd
> 
> Packages that uses the systemd class need to have systemd build
> otherwise they might fail to detect systemd as available or fail to
> generate rootfs.

Can we move this only to packages which are really depending on systemd
compiled?

I have use-case where
small cpio image has busybox
busybox depends on systemd just because of this
systemd depends on kernel (because RRECOMMENDS on modules)
kernel depends on that cpio image which is used as ramdisk

So in order to finish cpio.do_rootfs I have to finish kernel and kernel
fails to build because doesn't have cpio available yet (DEPENDS = "cpio"
is not enough because doesn't need do_rootfs to finish AFAIK).

Cheers,

> 
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> 
> ---
> 
>  meta-oe/classes/systemd.bbclass |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta-oe/classes/systemd.bbclass b/meta-oe/classes/systemd.bbclass
> index 2ca7bfc..094a12c 100644
> --- a/meta-oe/classes/systemd.bbclass
> +++ b/meta-oe/classes/systemd.bbclass
> @@ -1,4 +1,4 @@
> -DEPENDS_append = " systemd-systemctl-native"
> +DEPENDS_append = " systemd systemd-systemctl-native"
>  
>  systemd_postinst() {
>  OPTS=""
> 
> 
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits

-- 
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/20120203/9c863978/attachment-0002.sig>


More information about the Openembedded-devel mailing list