Developer Workflow Improvements: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(Created page with "Developer workflow improvements as documented in the following bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6662 == Todo list == * Running recipetool from devtool wi...")
 
(Updates)
Line 1: Line 1:
Developer workflow improvements as documented in the following bug:
Developer workflow improvements as documented in the following bugzilla entry:


https://bugzilla.yoctoproject.org/show_bug.cgi?id=6662
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6662
Line 5: Line 5:
== Todo list ==
== Todo list ==


* Running recipetool from devtool within the SDK seems to be broken:
* <strike>Running recipetool from devtool within the SDK seems to be broken</strike> ''-- Fixed, was related to custom environment setup script not being used (as well as poor error reporting) - Paul''
<pre>
* Properly report failures in bitbake execution during install (output is currently discarded)
paul@peggleto-mobl5:~/poky/newsdk$ devtool add pv ~/tmp/pv-1.5.3/
* Prevent do_rootfs itself from executing on install - we only need the tasks that it depends upon
/home/paul/poky/newsdk/layers/poky/oe-init-build-env
* Modularise devtool ''-- In progress - Paul''
Traceback (most recent call last):
  File "/home/paul/poky/newsdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 407, in <module>
    ret = main()
  File "/home/paul/poky/newsdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 400, in main
    ret = args.func(args)
  File "/home/paul/poky/newsdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 223, in add
    create_recipe(srctree, args.recipename)
  File "/home/paul/poky/newsdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 120, in create_recipe
    stdout, stderr = exec_build_env_command(config.init_path, basepath, 'recipetool create %s %s' % (recipefile, srctree))
  File "/home/paul/poky/newsdk/sysroots/x86_64-pokysdk-linux/usr/bin/devtool", line 133, in exec_build_env_command
    return bb.process.run('%s%s' % (init_prefix, cmd), **options)
ExecutionError: Execution of '. /home/paul/poky/newsdk/layers/poky/oe-init-build-env /home/paul/poky/newsdk > /dev/null 2>&1; recipetool create /home/paul/poky/newsdk/workspace/recipes/pv/pv.bb /home/paul/tmp/pv-1.5.3' failed with exit code 127:
/bin/sh: recipetool: command not found
</pre>
* Prevent do_rootfs from executing on install
* Modularise devtool -- ''Paul: in progress''
* Write test script for SDK
* Write test script for SDK

Revision as of 12:01, 6 October 2014

Developer workflow improvements as documented in the following bugzilla entry:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6662

Todo list

  • Running recipetool from devtool within the SDK seems to be broken -- Fixed, was related to custom environment setup script not being used (as well as poor error reporting) - Paul
  • Properly report failures in bitbake execution during install (output is currently discarded)
  • Prevent do_rootfs itself from executing on install - we only need the tasks that it depends upon
  • Modularise devtool -- In progress - Paul
  • Write test script for SDK