Hi, you could define two machines, where the manufacturing one is just an overlay of the production one. If the two kernels differs only for their config, you can specify different defconfig based on machine. If you need a completely different kernel, just specify PREFERRED_PROVIDER_virtual/kernel in manufacturing overlay
Best regards, Gabriele Il giorno gio 18 lug 2019 alle ore 23:27 Patrick Doyle <wpds...@gmail.com> ha scritto: > Hello All, > I have a situation where I need to build an image for my machine with > a different kernel than is specified by > PREFERRED_PROVIDER_virtual/kernel. But I also need to build the > default kernel. This is for a "manufacturing" image which will > include the full production image, and then some (and, possibly, > without some). The kernel configuration needs to be different for the > manufacturing image. > > What is the recommended mechanism to override the value of > PREFERRED_PROVIDE_virtual/kernel in my manufacturing-image.bb recipe? > > --wpd > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto