[yocto] 2 images with single Bitbake recipe

Khem Raj raj.khem at gmail.com
Mon Mar 9 12:31:08 PDT 2015


> On Mar 9, 2015, at 12:22 PM, Nikolay Dimitrov <picmaster at mail.bg> wrote:
> 
> Hi guys,
> 
> I need an advice for the following Yocto use case.
> 
> My system has to boot via minimal initramfs and then must use the full
> rootfs. I can use 2 separate recipes to generate the 2 images (minimal
> initramfs, complete rootfs), but I prefer to create all my build-
> products via single bitbake command.
> 
> So, is it possible to build these 2 images with 1 recipe, and if "yes"
> then how?
> 


Look at how initramfs http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-tasks-bundle_initramfs
and also meta/conf/local.conf.sample.extended

> Thanks in advance. Regards,
> Nikolay
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list