On Wed, Oct 23, 2024 at 12:39 PM, umeshyv wrote: > > Hi > > I get below error for the recipe which copies .tgz files to a directory > > ERROR: lib32-xxxxxx-image-1.0-r0 do_prepare_recipe_sysroot: Manifest > /home/x/projects/x/build-x/tmp/sstate-control/manifest-x86_64_ubuntu-20.04-sigma-tools-native.populate_sysroot > not found in x86_64 x86_64_ubuntu-20.04 (variant '')? > > Here is my recipe > > SUMMARY = "Tools" > LICENSE = "CLOSED" > SAVEDDIR := "${THISDIR}/files" > > SRC_URI = "file://1xx.tgz \ > file://2xx.tgz \ > file://3xx.tgz \ > file://4xx.tgz" > > do_install() { > install -d ${D}/opt/tools > install -m 0755 ${SAVEDDIR}/*.tgz ${D}/opt/tools > } > FILES_${PN} += "/opt/tools/*" > > Looking for suggestions for this error. I did trails writing > do_prepare_recipe_sysroot() {} but I get same error. > > > Please help me on this regard. > > > Thanks > umesh > >
You are not supposed to copy those files directly from the files directory, as Yocto will automatically copy them to your WORKDIR with the do_fetch() task. Instead try to install them from the WORKDIR directory and remove this SAVEDIR variable, you don't really need that. Aleksandar
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64101): https://lists.yoctoproject.org/g/yocto/message/64101 Mute This Topic: https://lists.yoctoproject.org/mt/109168052/21656 Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-