Seems like I can no longer use devtool to write kernel patches when including openamp in my distro via DISTRO_FEATURES.
When running
MACHINE=avg-mcb devtool modify virtual/kernel
I get the following error
...
ERROR: Could not generate configuration queue for avg-mcb.
ERROR: Function failed: do_kernel_metadata (log file is located at /home/david/avg-linux/poky/build/tmp/work/avg_mcb-poky-linux/linux-xlnx/4.14-xilinx-v2018.3+gitAUTOINC+eeab73d120-r0/devtooltmp-voxnuuwm/temp/log.do_kernel_metadata.27244)
ERROR: Logfile of failure stored in: /home/david/avg-linux/poky/build/tmp/work/avg_mcb-poky-linux/linux-xlnx/4.14-xilinx-v2018.3+gitAUTOINC+eeab73d120-r0/devtooltmp-voxnuuwm/temp/log.do_kernel_metadata.27244
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/david/avg-linux/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['kern-tools-native', 'quilt-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_kernel_metadata
| ERROR. input file "cfg/openamp.scc" does not exist
| ERROR: could not process input files:
...
cfg/openamp.scc
...
| See /tmp/tmp.WvhHjbpeC2 for details
| ERROR: Could not generate configuration queue for avg-mcb.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_kernel_metadata (log file is located at /home/david/avg-linux/poky/build/tmp/work/avg_mcb-poky-linux/linux-xlnx/4.14-xilinx-v2018.3+gitAUTOINC+eeab73d120-r0/devtooltmp-voxnuuwm/temp/log.do_kernel_metadata.27244)
NOTE: Tasks Summary: Attempted 300 tasks of which 294 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
ERROR: Extracting source for linux-xlnx failed
At the moment I don't have time to further dig into this issue but my guess is that it is related to the .scc file no longer being mentioned in the SRC_URI of the new linux-%.bbappend.
On the yocto homepage they mention "You can add kernel features in the recipe-space by using the KERNEL_FEATURES variable and by specifying the feature's .scc file path in the SRC_URI statement."
57e7baa#diff-a4cc1f2c51187c3bdbe2201d31469ecb
Seems like I can no longer use
devtoolto write kernel patches when including openamp in my distro via DISTRO_FEATURES.When running
I get the following error
At the moment I don't have time to further dig into this issue but my guess is that it is related to the .scc file no longer being mentioned in the
SRC_URIof the newlinux-%.bbappend.On the yocto homepage they mention "You can add kernel features in the recipe-space by using the KERNEL_FEATURES variable and by specifying the feature's .scc file path in the SRC_URI statement."
57e7baa#diff-a4cc1f2c51187c3bdbe2201d31469ecb