I am using bitbake to build a recipe which requires 
meta/recipes-core/images/core-image-minimal-dev.bb. I would like to include the 
references of the symbolic links 
core-image-minimal-initramfs-<machine>.manifest and <recipe>-<machine>.manifest 
within the build/tmp/deploy/<machine>/images directory to the rootfs of the 
resulting operating system.

It was pretty straightforward to add <recipe>-<machine>.manifest to the image 
by adding an IMAGE_PREPROCESS_COMMAND like this:

move_manifests() {
   mkdir -p ${IMAGE_ROOTFS}/home/root
   ls -lah ${DEPLOY_DIR_IMAGE} > ${IMAGE_ROOTFS}/home/root/lslog
   install -m 0644 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.manifest 
${IMAGE_ROOTFS}/home/root
}
The lslog helped me understand what exactly the deploy/images directory looks 
like during the image preprocess step, and the initramfs manifest isn't in 
there at that point; the initramfs manifest must be created shortly thereafter 
(during , because after bitbake's build tasks have been completed, the 
deploy/images does include the initramfs manifest.

Is it possible to move the core-image-minimal-initramfs-<machine>.manifest into 
the rootfs of my recipe-generated operating system?
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to