[OE-core] [PATCH 1/3] scripts/contrib: Add override conversion script

2021-07-28 Thread Richard Purdie
This adds a script I've developed to migrate metadata to use the new override syntax. It is a bit rough but since its for a single use with validation, it doesn't need to be perfect. It is run simply as: scripts/contrib/convert-overrides.py It is setup and has been tested to work with OE-Core, B

Re: [OE-core] [PATCH 1/3] scripts/contrib: Add override conversion script

2021-07-28 Thread Michael Opdenacker
On 7/28/21 4:15 PM, Richard Purdie wrote: > This adds a script I've developed to migrate metadata to use the new override > syntax. It is a bit rough but since its for a single use with validation, it > doesn't need to be perfect. It is run simply as: > > scripts/contrib/convert-overrides.py > >

Re: [OE-core] [PATCH 1/3] scripts/contrib: Add override conversion script

2021-07-29 Thread Richard Purdie
On Wed, 2021-07-28 at 15:15 +0100, Richard Purdie via lists.openembedded.org wrote: > This adds a script I've developed to migrate metadata to use the new override > syntax. It is a bit rough but since its for a single use with validation, it > doesn't need to be perfect. It is run simply as: > >

Re: [OE-core] [PATCH 1/3] scripts/contrib: Add override conversion script

2021-07-31 Thread Robert Berger
Hi, Not sure this is the right list and mail I am replying to ;) I was wondering what's happening with backwards compatibility. It looks like it will not be possible to have a layer with new syntax fixes which will also work for some older versions (hardknott and older). Regards, Robert

Re: [OE-core] [PATCH 1/3] scripts/contrib: Add override conversion script

2021-07-31 Thread Richard Purdie
On Sat, 2021-07-31 at 15:55 +0300, Robert Berger wrote: > Not sure this is the right list and mail I am replying to ;) > > I was wondering what's happening with backwards compatibility. > > It looks like it will not be possible to have a layer with new syntax > fixes which will also work for som

Re: [OE-core] [PATCH 1/3] scripts/contrib: Add override conversion script

2021-07-31 Thread Robert Berger
Hi Richard, On 31/07/2021 16:14, Richard Purdie wrote: That isn't correct. There are patches backported to the bitbake 1.50, 1.48 and 1.46 branches which mean the older bitbake will accept the new syntax. This means that converted layers will work with older releases, as long as someone has up