Hi Aleksandar Thanks for your reply
I removed SAVEDDIR in the recipe and replaced with WORKDIR inside do_install() and when I build, following is the error ERROR: xxx-tools-native-1.0-r0 do_install: ExecutionError('/home/xxx/xxx/xxx/build-xxx/tmp/work/xxx-linux/tools-native/1.0-r0/temp/run.do_install.3249', 1, None, None) In the log file DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_install | install: cannot stat '/home/xxx/xxx/xxx/build-xxx/tmp/work/xxx-linux/tools-native/1.0-r0/*.tgz': No such file or directory Am I still missing anything, suggestions please Thanks umesh On Thu, 24 Oct 2024 at 06:02, Aleksandar Nikolic via Lists.Yoctoproject.Org <aleksandar.nikolic010=gmail....@lists.yoctoproject.org> wrote: > 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 (#64103): https://lists.yoctoproject.org/g/yocto/message/64103 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] -=-=-=-=-=-=-=-=-=-=-=-