Hi It seems that it's not possible to set a custom pre/postinst function for a kernel recipe. kernel.bbclass overwrites the necessary variables without checking its content.
My patch does fix this. However, I'm not sure how to handle similar variables which get overwritten by kernel.bbclass, therefore a RFC. What about FILES_kernel_image? A custom recipe should be able to add other files into the kernel package, right? What about PKG_kernel_image? I'm not really sure what this variable is used for. Oliver Stäbler (1): kernel.bbclass: Do not overwrite pre/postinst meta/classes/kernel.bbclass | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -- 2.13.5 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto