[OE-Core][RFC] update-layers: Update layers managed by setup-layers

2023-07-12 Thread Chuck Wolber
I wrote this tool to do automatic updating of layers managed by the setup-layers script. This addresses some of the functionality I discussed in my OSSNA 2023 talk . A detailed explanation of what the following script does is found in the comments, but

Re: [OE-Core][RFC] update-layers: Update layers managed by setup-layers

2023-07-15 Thread Alexander Kanavin
On Wed, 12 Jul 2023 at 23:53, Chuck Wolber wrote: > But this is why I chose not to. By definition the setup-layers concept allows > for a project specific repository to > manage change, including change in openembedded-core. The same would go for > update-layers. If we folded > update-layers int

Re: [OE-Core][RFC] update-layers: Update layers managed by setup-layers

2023-07-12 Thread Alexander Kanavin
Thanks, perhaps this functionality should simply be folded directly into bitbake-layers perhaps, as an extension of 'create-layers-setup'? Does it need to be in a separate script? Alex On Wed, 12 Jul 2023 at 20:00, Chuck Wolber wrote: > > I wrote this tool to do automatic updating of layers mana

Re: [OE-Core][RFC] update-layers: Update layers managed by setup-layers

2023-07-12 Thread Chuck Wolber
That is a good point that I wrestled with. The TL;DR is that it seems to create a chicken/egg problem. Here is my reasoning in (possibly too much) detail. At a very high level, one of the ingenious aspects of Yocto/OE is that it (almost) always lets the project distro "win". This is important bec