initramfs dependency loop
I'm using an initramfs image, based on klibc.
klibc depends on virtual/kernel, so my kernel is built before the initramfs image completes.
I then force the kernel to be rebuilt (with initfamfs.cpio.gz included), before I start building the actual production image (which has the kernel image included).
This works of course, but it's not very nice.
Now I'm wondering, what is the official way to deal with this initramfs / klibc / kernel dependency loop, how do you guys deal with that?
Rgds, Pieter
Quoted 1 line
I'm using an initramfs image, based on klibc.
Same here.
I fear you need a second recipe for the initramfs-enabled kernel.
See /conf/machine/include/initramfs-kexecboot.inc
and the triplet /recipes/kexecboot , initramfs-kexecboot-image ,
linux-kexecboot
Regards
Andrea