[OE-core] [RFC PATCH 0/7] Developer workflow improvements
Trevor Woerner
trevor.woerner at linaro.org
Thu Dec 11 19:43:40 UTC 2014
bisecting (manually) leads to this commit being safe:
ea50ec527483eb3a094588858baebd5fb23f71c6 devtool: rename deploy/undeploy
to deploy-target/undeploy-target
and this one introducing the problem:
770f203f73f358ce3c6c5ac12fe2775b812bdc6b devtool: fool bitbake into
thinking it's outputting to a terminal
On 12/11/14 14:16, Trevor Woerner wrote:
> Oops! (this worked before the "git pull")
>
> $ devtool add xannounce ~/devel/yocto/build/workflow/xannounce/
> NOTE: Creating workspace layer in
> /home/trevor/devel/yocto/build/workflow/build/workspace
> NOTE: Recipe
> /home/trevor/devel/yocto/build/workflow/build/workspace/recipes/xannounce/xannounce.bb
> has been automatically created; further editing may be required to
> make it fully functional
> Traceback (most recent call last):
> File
> "/home/trevor/devel/yocto/build/workflow/meta-poky/scripts/devtool",
> line 274, in <module>
> ret = main()
> File
> "/home/trevor/devel/yocto/build/workflow/meta-poky/scripts/devtool",
> line 267, in main
> ret = args.func(args, config, basepath, workspace)
> File
> "/home/trevor/devel/yocto/build/workflow/meta-poky/scripts/lib/devtool/standard.py",
> line 68, in add
> _add_md5(config, args.recipename, recipefile)
> File
> "/home/trevor/devel/yocto/build/workflow/meta-poky/scripts/lib/devtool/standard.py",
> line 218, in _add_md5
> md5 = bb.utils.md5_file(filename)
> File
> "/home/trevor/devel/yocto/build/workflow/meta-poky/bitbake/lib/bb/utils.py",
> line 463, in md5_file
> with open(filename, "rb") as f:
> IOError: [Errno 2] No such file or directory:
> '/home/trevor/devel/yocto/build/workflow/build/workspace/recipes/xannounce/xannounce.bb'
>
> Sure enough...
>
> $ devtool-workflow> tree workspace/
> workspace/
> |-- appends
> |-- conf
> | `-- layer.conf
> `-- recipes
> `-- xannounce
>
> 4 directories, 1 file
>
>
> whereas before it was:
>
> $ tree workspace/
> workspace/
> |-- appends
> | `-- xannounce.bbappend
> |-- conf
> | `-- layer.conf
> `-- recipes
> `-- xannounce
> `-- xannounce.bb
>
> 4 directories, 3 files
>
> For some reason my recipe and bbappends are not getting created :-(
More information about the Openembedded-core
mailing list