[oe] {RFC} rootfs directory path

Chris Larson clarson at kergoth.com
Sat Feb 13 15:57:01 UTC 2010


On Sat, Feb 13, 2010 at 8:52 AM, Raffaele Recalcati
<lamiaposta71 at gmail.com>wrote:

> Hi Frans,
>
> > That is also where it eventually ends up for me, but the image is
> > constructed in ${TMPDIR}/rootfs/console-image (without the work subdir
> > inbetween as I accidently wrote before).
> > That is where the clash is happening (especially if you keep rootfs,
> > but also if you don't and start parallel builds for different systems)
>
> ${TMPDIR}/rootfs/${DISTRO}-${MACHINE}/console-image
>
> seems to isolate the building of rootfs in order to allow parallel builds.
>
> But isn't a similar problem in the compilation?
>
> For example,
> if you are building two tmp/work/armv5te-angstrom-linux-gnueabi
> systems you'll have a disaster because the same package will be
> re-written by the last build.
>
> But I guess you are building different (different architecture) systems.
>
> My small knowledge is improving a little bit.
>
>
Given that the rootfs dir used in the image creation process is of limited,
if any, use, it makes most sense to just put it under the WORKDIR of the
recipe.

IMAGE_ROOTFS = "${WORKDIR}/rootfs"
-- 
Chris Larson
clarson at kergoth dot com
clarson at mvista dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Software Engineer
MontaVista Software, Inc.



More information about the Openembedded-devel mailing list