Copy tar file without expand it
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
As per the documentation:
https://www.yoctoproject.org/docs/latest/bitbake-user-manual/bitbake-user-manual.html#bb-the-unpack
Add unpack=0.
Ross
Quoted 38 lines · Mauro Ziliani
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_URIto avoid tar expansion?MZ
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto