[poky] DISTRO 'poky' not found
Joshua Lock
josh at openedhand.com
Tue Mar 15 02:40:15 PDT 2011
On Mon, 2011-03-14 at 14:49 -0700, Darren Hart wrote:
>
> On 03/14/2011 02:29 PM, Darren Hart wrote:
> > I've run into this error several times during development of various things. It will be in a build tree that I have been working with for a while, then when I come back to it, I get the following. Any idea what triggers this? I suspect something in my workflow, but I can't imagine what it would be. I'd really like to not have to delete my build tree.
> >
> > $ cd poky.git
> > $ source poky-init-build-env build-qemux86/
> >
> > ### Shell environment set up for Poky builds. ###
> >
> > You can now run 'bitbake<target>'
> >
> > Common targets are:
> > poky-image-minimal
> > poky-image-sato
> > meta-toolchain
> > meta-toolchain-sdk
> >
> > You can also run generated qemu images with a command like 'poky-qemu qemux86'
> >
> > $ bitbake linux-yocto
> > ERROR: Poky's config sanity checker detected a potential misconfiguration.
> > Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
> > Following is the list of potential problems / advisories:
> >
> > Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.
> > DISTRO 'poky' not found. Please set a valid DISTRO in your local.conf
>
>
> Thanks to Beth and Mark who pointed me in the right direction. This
> appears to be a problem with master, if I cherry-pick my changes on top
> of the bernard branch, the build continues as expected.
>
Ah, our layers.conf.sample doesn't include the new meta-yocto layer. So
I'm guessing this is a clean build dir?
We need a patch like the attached.
Cheers,
Joshua
--
Joshua Lock
Yocto Build System Monkey
Intel Open Source Technology Centre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: layers.patch
Type: text/x-patch
Size: 329 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110315/17c143ab/attachment.bin>
More information about the poky
mailing list