Developer Workflow Improvements: Difference between revisions

From Yocto Project
Jump to navigationJump to search
No edit summary
Line 24: Line 24:
* <strike>Add an option for modify / add to use the same directory for source and build where that's required</strike>
* <strike>Add an option for modify / add to use the same directory for source and build where that's required</strike>
* 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 -- ''Extract/build working, but modify is missing config handling - Paul''
* Support 'devtool modify linux-yocto' -- ''Extract/build working, but modify is missing config creation - Paul''
* Use git to track changes made by extra task functions?
* 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?
* extract: Try to get author/date info about patches from metadata git history if not able to find it any other way?
* update-recipe: warning when running on mdadm: WARNING: Variable key FILES_${PN} ( ${base_libdir}/udev/rules.d/*.rules) replaces original key FILES_mdadm
* update-recipe: warning when running on mdadm: WARNING: Variable key FILES_${PN} ( ${base_libdir}/udev/rules.d/*.rules) replaces original key FILES_mdadm
* 'devtool modify' needs to at least try to get initial revision when -x is not specified
* 'devtool deploy-target' needs to be more verbose about ssh failures (just get "lost connection" on e.g. known host key mismatch)


=== recipetool ===
=== recipetool ===

Revision as of 18:03, 26 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
  • When publishing the SDK(tool not available yet), warn the user if there are items added to the image/distro via local.conf and suggest moving the items the distro or image config.

devtool

  • Need to run do_populate_sysroot when you run "devtool build" (so that libraries can be added)
  • Add an option for modify / add to use the same directory for source and build where that's required
  • Add support for plugins in multiple layers
  • Support 'devtool modify linux-yocto' -- Extract/build working, but modify is missing config creation - Paul
  • 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?
  • update-recipe: warning when running on mdadm: WARNING: Variable key FILES_${PN} ( ${base_libdir}/udev/rules.d/*.rules) replaces original key FILES_mdadm
  • 'devtool modify' needs to at least try to get initial revision when -x is not specified
  • 'devtool deploy-target' needs to be more verbose about ssh failures (just get "lost connection" on e.g. known host key mismatch)

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?
  • Extract dependencies from cmake
  • LICENSE files can be picked up twice if they match more than one expression in our list e.g. COPYING.GPL