On 29 Nov 2022, at 13:21, Pawel Zalewski <pzalewski@thegoodpenguin.co.uk> wrote:


Hi Alex,

Many thanks for pointing that out ! As it is a relatively new feature for now it
will probably be best to go with a manifest and switch to the json method once this feature is tested
by someone in this mailing list.


Yeah fair comment. I’ll take a look at it soon as I’ve always felt this separate manifest repository concept it a bit kludgey. 

I have wondered - is there any good reason not to include the manifest in the repo itself (eg meta-morello). Repo is just pulling a file from a branch after all. 

Presumably there are some downsides I’m not seeing? 

Cheers!

Alex 


Kind regards,
Pawel

On Tue, 29 Nov 2022 at 11:46, Alex J Lennon <ajlennon@dynamicdevices.co.uk> wrote:

Hi both,

On 29/11/2022 11:34, Pawel Zalewski wrote:
Hi Vincenzo,

The manifest is there to fetch the meta-arm layer as meta-morello appends recipes found in the meta-arm's bsp,
the manifest will also fetch Yocto kirkstone and meta-morello itself. So at the end the developer will end up with a checkout
of kirkstone with meta-arm and meta-morello placed inside its poky tree.

I should clarify that it is the meta-arm layer sourced from git.yoctoproject.org, not from Morello gitlab.
The only item being fetched from the Morello gitlab is meta-morello itself.

Kind regards,
Pawel


I haven't had a chance to investigate this yet but I saw a while ago that Alexander Kavavin and Joshua Watt have done some work on Yocto tooling to get away from repo etc.

"I am super happy to announce that the Yocto project has gained official tooling for layer setup and build configuration management. Better yet, said tooling was written by yours truly from the best starting point ever: make something that I would want to personally use. So, no more messing about with kas, repo, submodules, or worst of all, custom shell scripts (almost always written by a single developer without comments or documentation, and said developer had left the company five years ago). I will explain how these things work in separate posts, but for now you can take a look at the actual code."

ref: https://git.yoctoproject.org/poky/commit/?id=f5d6792d68a12db9c512522ef576b5a8d4204952

Cheers,

Alex