Hello,

I have a recipe that packages images from ${DEPLOY_DIR_IMAGE} into a final binary that can be installed by the user. It looks something like this:

do_compile[depends] += "virtual/rootfs-image:do_image_complete"
do_compile[depends] += "virtual/boot-image:do_deploy"
do_compile[depends] += "virtual/bootloader:do_deploy"

do_compile() {
    zip -j --compression-method=store \
        ${B}/${IMAGE_VERSION_STR}.bin \
        ${DEPLOY_DIR_IMAGE}/${ROOTFS_IMAGE_FULLNAME} \
        ${DEPLOY_DIR_IMAGE}/${BOOT_IMAGE_FULLNAME} \
        ${DEPLOY_DIR_IMAGE}/${ABOOT_IMAGE_FULLNAME}
}

Is there a way to trigger a rebuild of this package if any other package it depends on rebuilds? I guess I need to do something with sstate, but I'm not sure what mechanism I'm supposed to follow (or am I off the beaten track?).

--
Pagarbiai,
Linux programuotojas
Kristupas Savickas
+370 633 36795

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to