[yocto] [RFC][PATCH 0/1] kernel.bbclass overwrites custom variables

Oliver Stäbler oliver.staebler at bytesatwork.ch
Mon Aug 21 05:55:17 PDT 2017


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




More information about the yocto mailing list