[yocto] Problem add and removing files to filesystem

Lorin Vandegrift vandegriftlorin at gmail.com
Fri Jul 24 14:27:09 PDT 2015


Hi all,

We are having problems adding extra files/removing files from the generated
file system in Yocto.  We've had success with using a do_install command in
our own bb file and using commands in the format rsync -avz test.txt
${D}{sysconfdir}, however we can't write to some paths (i.e. writing to
root with ${D).  Additionally, we are not able to overwrite files generated
by other recipes.  We also tried using install and couldn't push our init
script (nstall -m 0755 test.sh ${D}${sysconfdir}/init.d).  Any advice for
these?  Also is there a recommended way for removing files?   We were able
to remove them by using the rm command and adding it to
ROOTFS_POSTPROCESS_COMMAND.

Thanks,
Lorin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150724/5af03f95/attachment.html>


More information about the yocto mailing list