Skip to contentSkip to conversation

Multiple distros with one bitbake

DISCUSSION Bartłomiej Osiński 1 participant 1 message Mar 13, 2018

lore
Share & tools
lore
#0 lore raw

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