[oe] [oe-commits] Otavio Salvador : systemd.bbclass: depends on systemd
Otavio Salvador
otavio at ossystems.com.br
Fri Feb 3 15:30:37 UTC 2012
On Fri, Feb 3, 2012 at 11:14, Martin Jansa <martin.jansa at gmail.com> wrote:
> 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).
>
I understand your use case but it seems in this case you ought to override
it in a bbappend. It doesn't seems right as this is the exception, not the
rule. If we don't depends on it, we can end with the binaries being not
available in case a rootfs generation.
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
More information about the Openembedded-devel
mailing list