Skip to contentSkip to conversation

extract several source tree with devtool

yocto Julien Stephan 2 participants 2 messages Feb 28, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi all,

Any ideas?

Thanks
Julien

Quoted 30 lines · Julien STEPHAN via lists.yoctoproject.org

Hi all,

I am wondering if it is possible to extract both a git repo and a tarball using devtool modify?
Example:
I am trying to use devtool modify on tensorflow-lite recipe (
https://git.yoctoproject.org/meta-tensorflow/tree/recipes-framework/tensorflow/tensorflow_2.6.1.bb).
The tensorflow.inc file fetches the tensorflow repository using git, then tensorflow_2.6.1.bb fetches 2 tarballs. The tarballs are extracted inside WORKDIR then files are installed inside the do_install() function. This is running correctly using bitbake tensorflow. When using devtool modify tensorflow, the tarballs are not extracted, then I get an error at the do_install stage: files from tarball don't exist.

This is a general question not related to tensorflow. Any suggestions on how to handle this? Either on the recipe side or on the devtool side? Best
Julien

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#56223):
https://lists.yoctoproject.org/g/yocto/message/56223
Mute This Topic: https://lists.yoctoproject.org/mt/89298811/4356723
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

You probably need to fix devtool as it is not designed to handle this, patches welcome.

Alex

Quoted 31 lines · Julien STEPHAN

Hi all,

Any ideas?

Thanks
Julien

Quoted 13 lines · Julien STEPHAN via lists.yoctoproject.org

Hi all,

I am wondering if it is possible to extract both a git repo and a tarball using devtool modify?
Example:
I am trying to use devtool modify on tensorflow-lite recipe (https://git.yoctoproject.org/meta-tensorflow/tree/recipes-framework/tensorflow/tensorflow_2.6.1.bb). The tensorflow.inc file fetches the tensorflow repository using git, then tensorflow_2.6.1.bb fetches 2 tarballs. The tarballs are extracted inside WORKDIR then files are installed inside the do_install() function. This is running correctly using bitbake tensorflow. When using devtool modify tensorflow, the tarballs are not extracted, then I get an error at the do_install stage: files from tarball don't exist.

This is a general question not related to tensorflow. Any suggestions on how to handle this? Either on the recipe side or on the devtool side? Best
Julien

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56307): https://lists.yoctoproject.org/g/yocto/message/56307
Mute This Topic: https://lists.yoctoproject.org/mt/89298811/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-