Skip to contentSkip to conversation

kernel metadata: confusing definition of "simplest unit" of metadata

DISCUSSION Robert P. J. Day 1 participant 1 message Jun 15

lore
Share & tools
lore
#0 lore raw

in the opening sentence here:

https://docs.yoctoproject.org/kernel-dev/advanced.html#configuration

one reads:

"The simplest unit of kernel Metadata is the configuration-only feature. This feature consists of one or more Linux kernel configuration parameters in a configuration fragment file (.cfg) and a .scc file that describes the fragment."

but that's not true since it seems to imply that you can't have a
.cfg file without a .scc file that describes it. but you can clearly have that; here's an example from the meta-arm layer that uses only .cfg files and no .scc files for a kernel append file:

https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-kernel/linux

so how should one read that opening sentence, since it certainly
seems misleading. is it meant to refer only to the yocto-kernel-cache layer, which certainly seems to adopt that as a *standard*. but that's not the same as it being *required*.

rday