[yocto] Two recipes install the same file

Chuck Wolber chuckwolber at gmail.com
Thu Feb 14 12:29:32 PST 2019


I have run across this a few times, particularly with man pages, when
including upstream packages into my images.

I have to use a bbappend recipe in my meta layer to remove the lower
priority version.

I quite like the feature because it ensures that all collisions are known
and dealt with in a clear and formal way.

..Ch:W..

On Thu, Feb 14, 2019 at 08:55 Burton, Ross <ross.burton at intel.com> wrote:

> Two packages can't install the same file.  In this case I suspect
> you'll need to split up the packaging further.  A common alternative
> for binaries in /bin which want to be installed by both e.g. coreutils
> and busybox is to use update-alternatives.
>
> Ross
>
> On Thu, 14 Feb 2019 at 16:36, madoga <madoga at protonmail.com> wrote:
> >
> > Hello everyone,
> >
> > I have an issue while I'm trying to overwrite some files that two
> recipes are installing. Task do_rootfs fails and I want to ask about the
> best way to solve this:
> >
> > -------------
> > Error: Transaction check error:
> >   file /app/econfig.xml conflicts between attempted installs of
> tests-1.0-r0 and error-1.0-r0
> >   file /app/controller.xml conflicts between attempted installs of
> tests-1.0-r0 and controller-1.0-r0
> >   file /app/user_mode.xml conflicts between attempted installs of
> mode-1.0-r0 and tests-1.0-r0
> > Error Summary
> > -------------
> >  When I launch bitbake with a concrete image this error appears and I
> don't know how I can give "priority" to a recipe. I have found something
> about create .bbappend file...
> >
> > Thank you,
> > Mario
> >
> >
> >
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
“I would challenge anyone here to think of a question upon which we once
had a scientific answer, however inadequate, but for which now the best
answer is a religious one."  -Sam Harris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190214/a19b49f1/attachment.html>


More information about the yocto mailing list