[yocto] Multiple distros with one bitbake

Bartłomiej Osiński bartlomiej.osinski at enigma.com.pl
Tue Mar 13 05:05:14 PDT 2018


Hi, 

With one bitbake command I'm making 2 images: 


    1. image-my-initramfs, combined with kernel. I want it to make as small as possible. 
    2. core-image-minimal, loaded separately 

The problem I have with no. 1 is that some features (most notably cryptsetup) force relatively big libraries to be included into image. Yocto doesn't seem to have option to force static compilation of those features (or am I wrong?), so I have to rely on using smaller glibc. This involves using different distro than poky, but on the other hand I'd like my image no. 2 to be left untouched (still using poky). Is there a way to achieve this? 

Bartlomiej 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180313/f5801d59/attachment.html>


More information about the yocto mailing list