How to sequence tasks in yocto recipe?

I want two processes in a yocto recipe to be in a sequence

First it should run the following commands,

do_rootfs[depends] += " my-image:do_clean"

Then it should run this command,

do_rootfs[depends] += " my-image:do_image_complete"

Otherwise, this image will not work.

If there is any way to make process work in a sequence in yocto recipe

1 Like

What Digi product are you using? What do you mean by image will not work?