I was asked by a colleague for the difference between do_deploy and do_install, 
which I both used mostly by checking similar recipes and copying their methods, 
but now I'm having some questions as well. The Yocto dev manual doesn't list 
deploy at all, so my assumption is that why do_install is the default, 
do_deploy is used to extend some functionality.

So my understanding for "do_install" is that it should copy the files build and 
provided (in ${B/S}) into ${D}, where they will be picked up by the mechanism 
used to create RPMs. So everything I want to end up in my rootfs needs to be 
installed in the correct location (as in ${D} equals the / folder of my rootfs).

Do_deploy however is documented in the reference manual as " Writes output 
files that are to be deployed to ${DEPLOY_DIR_IMAGE}. The task runs with the 
current working directory set to ${B}.", which sounds pretty much like what I 
described above. So how is this different from do_install, other than it seems 
to me that do_deploy uses the extra temporary dir ${DEPLOYDIR} (without an 
underscore)?

So is there any guidance when and what for to use either? 

Thanks, Olli
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48324): https://lists.yoctoproject.org/g/yocto/message/48324
Mute This Topic: https://lists.yoctoproject.org/mt/71133603/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to