Re: [PATCH 00/10] Initial systemd integration

Richard Purdie
2013-01-21T10:33:13Z

On Mon, 2013-01-21 at 09:19 +0100, Eric Bénard wrote:
> Hi Ross,
>
> Le Mon, 21 Jan 2013 08:08:32 +0000,
> "Burton, Ross" <ross.burton@intel.com> a écrit :
>
> > The autobuilder hit this last night:
> >
> > ERROR: Multiple .bb files are due to be built which each provide udev
> > (/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/meta/recipes-core/udev/udev_182.bb
> > /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/meta/recipes-core/systemd/systemd_196.bb).
> >
> > Which I realised would happen not long after hitting send. I'll sort this too.
> >
> we had the same problem in meta-oe's denzil branch.
>
> The workaround is here :
> http://patches.openembedded.org/patch/41669/
> http://patches.openembedded.org/patch/41667/
> http://patches.openembedded.org/patch/41671/
>
> What should work in OE-Core when using systemd is :
> PREFERRED_PROVIDER_udev = "systemd"

This isn't enough to prevent warnings for "bitbake world". We need to
detect which is enabled and then SkipPackage in the one that isn't
needed, or at least exclude it from the world build.

Cheers,

Richard