Including src-pkgs in EXTRA_IMAGE_FEATURES when PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory' doesn't put the src packages into the image. debug-file-directory is useful when using the kernel perf utility. It is also useful to have source code in the image when using perf. This is documented in the perf section of the manual: " Additionally, in order to generate the type of debuginfo that perf understands, we also need to set PACKAGE_DEBUG_SPLIT_STYLE in the local.conf file: PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'" It would be nice if EXTRA_IMAGE_FEATURES always put the src package into the image no matter what the value of PACKAGE_DEBUG_SPLIT_STYLE is. Right now it's impossible to use perf and also get src packages included in the image.
The -src packages don't include any files when using debug-file-directory, why would they need to be installed? When debug-file-directory is in use, the /usr/src/debug path is in the -dbg package, not the -src package.
Jonathan does Chris' explanation make sense and do you agree with it? If so please resolve this defect.
Jonathan's email is no longer valid so closing. Re-open if you disagree.