Re: [poky] One recipe for fetch a bigger repo, multiple recipes to build parts of it

Alexander Kanavin <[email protected]>
Newsgroups org.yoctoproject.lists.poky
Message-ID <CANNYZj8RpypOLJKRMbpL1ZESu2urWHFmr2yhL2pXXCwKiDWwgQ@mail.gmail.com>
On Tue, 5 Nov 2024 at 13:01, Steve via lists.yoctoproject.org
<[email protected]> wrote:
> well download may indeed happened just once, but isn't in each recipe
> the git folder with it's complete content?
> Maybe I described it misleading:
> So it is not about download, but about the amount of storage needed for
> each recipe. Assuming 10 recipes using same main repo, in each of the
> ../build/tmp/<recipe-name>/<tag>+gitAUTOINC+<git-hash>/git
> I see the full checked out repo.

If you want to use individual submodules, then the best would be
probably to have an external script that determines SRCREV for each of
them from what is recorded in the parent repo, and writes that into
recipes.

Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.