[yocto] Copy tar file without expand it

Mauro Ziliani mauro at faresoftware.it
Wed Nov 21 10:12:07 PST 2018


Hi all.

I need to copy a tar file from 'files' subdir of my recipe into
/upgrade_file in the file image.

I don't need to expand it, only copy.


How can I do that?


in my recipe I put but myfile.tar will be exploded.


SRC_URI += " \

    file://myfile.tar \

"

do_install_append() {

    install -m 0644 ${WORKDIR}/myfile.tar ${D}/upgrade_file

}


There some options to pass in SRC_URI to avoid tar expansion?


MZ



More information about the yocto mailing list