Just in case someone has the same problem, it is the do_userfs function the one 
that deletes /usr/local directories and files after copying them to 
${image_userfs}:

cp -r 
/build/tmp/work/kontron_mx8mm-ked-linux/image-ked-qt/1.0-r0/rootfs${image_userfs_dir}/*
 ${image_userfs}
rm -rf 
/build/tmp/work/kontron_mx8mm-ked-linux/image-ked-qt/1.0-r0/rootfs${image_userfs_dir}/*

I have changed the installation folder to /opt that seems more appropiate

Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61695): https://lists.yoctoproject.org/g/yocto/message/61695
Mute This Topic: https://lists.yoctoproject.org/mt/102502363/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to