On Wed, Feb 01, 2012 at 08:04:41AM +0000, [email protected] 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 <[email protected]>
> 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 <[email protected]>
> Signed-off-by: Koen Kooi <[email protected]>
> 
> ---
> 
>  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
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to