DISTRO 'poky' not found
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
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Quoted 17 lines · Darren Hart
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-sdkYou can also run generated qemu images with a command like 'poky-qemu qemux86'
Quoted 7 lines
$ 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_OSdirectly, 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.
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Quoted 24 lines · Darren Hart
Quoted 22 lines · Darren Hart
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-sdkYou 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:
Quoted 8 lines
Quoted 2 lines
Please set
TARGET_OSdirectly, or choose a MACHINE or DISTRO that does so.
DISTRO 'poky' not found. Please set a valid DISTRO in your local.confThanks 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
Signature · 3 lines
Joshua Lock
Yocto Build System Monkey
Intel Open Source Technology Centremeta-yocto/conf/bblayers.conf.sample +1 -0
@@ -5,4 +5,5 @@ LCONF_VERSION = "4" BBFILES ?= "" BBLAYERS = " \ ##POKYBASE##/meta \ + ##POKYBASE##/meta-yocto \ "
Quoted 29 lines · Joshua Lock
Quoted 28 lines · Darren Hart
Quoted 24 lines · Darren Hart
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-sdkYou 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_OSdirectly, or choose a MACHINE or DISTRO that does so.
DISTRO 'poky' not found. Please set a valid DISTRO in your local.conf
Quoted 7 lines
Quoted 4 lines
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?
I believe I've seen it on both - but probably only when switching branches back and forth between master and bernard.
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Quoted 36 lines · Darren Hart
Quoted 34 lines · Joshua Lock
Quoted 32 lines · Darren Hart
Quoted 17 lines · Darren Hart
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-sdkYou can also run generated qemu images with a command like 'poky-qemu qemux86'
Quoted 7 lines
$ 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_OSdirectly, or choose a MACHINE or DISTRO that does so.
DISTRO 'poky' not found. Please set a valid DISTRO in your local.confThanks 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.
Quoted 5 lines
Quoted 2 lines
Ah, our layers.conf.sample doesn't include the new meta-yocto layer. So I'm guessing this is a clean build dir?
I believe I've seen it on both - but probably only when switching branches back and forth between master and bernard.
There should be a fix in master for this now though?
Cheers,
Richard
Quoted 37 lines · Richard Purdie
Quoted 36 lines · Darren Hart
Quoted 34 lines · Joshua Lock
Quoted 32 lines · Darren Hart
Quoted 17 lines · Darren Hart
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-sdkYou can also run generated qemu images with a command like 'poky-qemu qemux86'
Quoted 7 lines
$ 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_OSdirectly, or choose a MACHINE or DISTRO that does so.
DISTRO 'poky' not found. Please set a valid DISTRO in your local.confThanks 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.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Ah, our layers.conf.sample doesn't include the new meta-yocto layer. So I'm guessing this is a clean build dir?
I believe I've seen it on both - but probably only when switching branches back and forth between master and bernard.
There should be a fix in master for this now though?
I believe so yes, the meta-yocto thing from Josh. I'll holler if I hit it again with that in place.
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel