On Sunday 09 August 2015 10:03:25 Khem Raj wrote: > On Aug 9, 2015 9:21 AM, "Paul Eggleton" <paul.eggle...@linux.intel.com> > wrote: > > On Saturday 08 August 2015 11:54:45 Khem Raj wrote: > > > > On Aug 7, 2015, at 12:54 PM, Paul Eggleton < > paul.eggle...@linux.intel.com> > > > > wrote:> > > > > > > > > On Friday 07 August 2015 12:26:56 Khem Raj wrote: > > > >>> On Aug 7, 2015, at 2:51 AM, Paul Eggleton > > > >>> <paul.eggle...@linux.intel.com> > > > >>> wrote:> > > > >> devtool modify dosfstools -x ~/projects/dosfstools > > > >> ERROR: This script can only be run after initialising the build > > > >> environment > > > >> (e.g. by using oe-init-build-env) > > > >> > > > >> so is it must now to use the setup script ? or can be extract some > > > >> needed setup from it to let it work with setups not using the init > > > >> script > > > > > > > > Well it needs to be able to run bitbake internally (directly and using > > > > tinfoil), hence the need to have the environment set up to do so. I > > > > don't really see a way around that. > > > > > > Then limited use of devtool should be documented as available > > > > How is this limited? It operates under the same conditions as bitbake > > itself does. > > Your last email indicated as if it always needs internal build environment. > If that's not the case then it's what I was requesting for the settings > that are required to execute it provided bitbake is in path and is building > fine but it's not using the settings provided by setup environment script
There aren't any special settings though - if you can run bitbake, you should be able to run devtool. If you're getting the error you pasted, it's because BUILDDIR is not set. I just fetched Angstrom's setup-scripts, checked out the angstrom-v2015.06- yocto1.8 branch, and ran through the steps mentioned in the README. Unfortunately it didn't check out all the layers successfully (someone should probably look at that...) once I tweaked bblayers.conf to remove the missing layers, devtool ran just fine. (Of course as part of setting up I had run . environment-angstrom - you are doing that, right?) Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core