Linaro / meta-qcom

OpenEmbedded/Yocto Project BSP layer for Qualcomm based platforms
MIT License
61 stars 70 forks source link

Fix dependency loop between INITRAMFS_IMAGE and UKI #562

Closed quic-vkraleti closed 7 months ago

quic-vkraleti commented 7 months ago

Ramdisk image by default pulls in a dependency on do_packagedata task of kernel. Uki.bbclass is trying to create kernel-uki package, by packaging ramdisk image before packagedata task. This is the causing circular dependency of tasks. To address this, need to stop creating kernel-uki package and place efi image in deploydir instead.

lumag commented 7 months ago

We are back to picking up the image from deploy dir. I think it might be better to package the UKI separately from its own recipe. This way it will not be limited to just kernel+initramfs, but will simplify extending it with the splash screen, microcode, etc.