Developer Workflow Improvements: Difference between revisions
From Yocto Project
Jump to navigationJump to search
PaulEggleton (talk | contribs) No edit summary |
PaulEggleton (talk | contribs) (Add some more stuff from my own todo list) |
||
Line 20: | Line 20: | ||
=== devtool === | === devtool === | ||
* Need to run do_populate_sysroot when you run "devtool build" | * Need to run do_populate_sysroot when you run "devtool build" (so that libraries can be added) | ||
* Add support for plugins in multiple layers | * Add support for plugins in multiple layers | ||
* Support 'devtool modify linux-yocto' - externalsrc doesn't seem to work here at the moment -- ''Started, paused until Bruce's patchset is ready - Paul'' | * Support 'devtool modify linux-yocto' - externalsrc doesn't seem to work here at the moment -- ''Started, paused until Bruce's patchset is ready - Paul'' | ||
* Add an option for modify / add to use the same directory for source and build where that's required | * Add an option for modify / add to use the same directory for source and build where that's required | ||
* Use git to track changes made by extra task functions? | |||
* extract: Try to get author/date info about patches from metadata git history if not able to find it any other way? | |||
=== recipetool === | === recipetool === | ||
* Rudimentary spec file conversion? | * Rudimentary spec file conversion? | ||
* Ability to do interactive adds via a UI | |||
* Add comments in on do_configure(_append), do_install_(append) etc. | |||
* Handle USE_* options in Makefiles? |
Revision as of 11:05, 16 February 2015
Developer workflow improvements as documented in the following bugzilla entry:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6662
Todo list
SDK
- 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
- Write test script for SDK
- Randy: getting errors from bitbake about changed signatures - behaviour change after Hongxu's patch?
- Update environment setup script to use buildsystem toolchain -- Done but needs testing and function dependent on uninative - Randy
- Fix runqemu(and possibly other tools?) since we no longer have the nativesdk sysroot (Add them to buildtools-lite?)
- Refactor to move functionality to SDK classes rather than meta-newsdk recipe
- nativesdk-qemu-helper_1.0.bb and qemu-helper_1.0.bb don't publish the same set of files. Investigate, since runqemu(and possibly other things) may need to come from the buildsystem's native sysroot.
- Installing the sdk to /opt requires root perms, but if you run the installer under sudo/as root then the inner execution of bitbake to prepare the SDK fails at sanity check
- uninative-tarball errors when restoring from sstate (should it even try?)
- uninative-tarball reports "WARNING: Function doesn't exist" during build
- Error when running recipetool from devtool "Error: The OE SDK/ADT was detected as already being present in this shell environment. Please use a clean shell when sourcing this environment script." - probably need to bypass this check via an extra environment variable
devtool
- Need to run do_populate_sysroot when you run "devtool build" (so that libraries can be added)
- Add support for plugins in multiple layers
- Support 'devtool modify linux-yocto' - externalsrc doesn't seem to work here at the moment -- Started, paused until Bruce's patchset is ready - Paul
- Add an option for modify / add to use the same directory for source and build where that's required
- Use git to track changes made by extra task functions?
- extract: Try to get author/date info about patches from metadata git history if not able to find it any other way?
recipetool
- Rudimentary spec file conversion?
- Ability to do interactive adds via a UI
- Add comments in on do_configure(_append), do_install_(append) etc.
- Handle USE_* options in Makefiles?