Re: [OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-26 Thread Alexander Kanavin
On Fri, 26 Aug 2022 at 12:27, Luca Ceresoli  wrote:
> Oh, no! I'm not receiving any poky@ emails anymore! The last I got is
> from August 23. On the website my subscription seems OK, and there is
> nothing in my spam folder. And, last but not least, the website does
> not seem to allow downloading an email as an mbox file. :-(
>
> I wrote to the help address.

I sent the patch to you directly.

Perhaps you can first try to unsubscribe/resubscribe and send a test
email to poky@ ?

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169912): 
https://lists.openembedded.org/g/openembedded-core/message/169912
Mute This Topic: https://lists.openembedded.org/mt/93225499/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-26 Thread Luca Ceresoli via lists.openembedded.org
Hi Alex,

On Fri, 26 Aug 2022 11:08:15 +0200
"Alexander Kanavin"  wrote:

> On Fri, 26 Aug 2022 at 11:04, Luca Ceresoli  wrote:
> > > I've sent a separate patch for meta-yocto to poky@ list, does that help?  
> >
> > Oops, I can't find any such patch in the poky@ list.  
> 
> This:
> https://lists.yoctoproject.org/g/poky/message/12870

Oh, no! I'm not receiving any poky@ emails anymore! The last I got is
from August 23. On the website my subscription seems OK, and there is
nothing in my spam folder. And, last but not least, the website does
not seem to allow downloading an email as an mbox file. :-(

I wrote to the help address.

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169908): 
https://lists.openembedded.org/g/openembedded-core/message/169908
Mute This Topic: https://lists.openembedded.org/mt/93225499/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-26 Thread Alexander Kanavin
On Fri, 26 Aug 2022 at 11:04, Luca Ceresoli  wrote:
> > I've sent a separate patch for meta-yocto to poky@ list, does that help?
>
> Oops, I can't find any such patch in the poky@ list.

This:
https://lists.yoctoproject.org/g/poky/message/12870

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169905): 
https://lists.openembedded.org/g/openembedded-core/message/169905
Mute This Topic: https://lists.openembedded.org/mt/93225499/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-26 Thread Luca Ceresoli via lists.openembedded.org
Hi Alex,

On Thu, 25 Aug 2022 15:45:21 +0200
"Alexander Kanavin"  wrote:

> I've sent a separate patch for meta-yocto to poky@ list, does that help?

Oops, I can't find any such patch in the poky@ list.

Luca

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169904): 
https://lists.openembedded.org/g/openembedded-core/message/169904
Mute This Topic: https://lists.openembedded.org/mt/93225499/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-25 Thread Alexander Kanavin
I've sent a separate patch for meta-yocto to poky@ list, does that help?

Alex

On Thu, 25 Aug 2022 at 15:37, Luca Ceresoli  wrote:
>
> Hello Alex,
>
> On Wed, 24 Aug 2022 14:42:33 +0200
> "Alexander Kanavin"  wrote:
>
> > This sets the ground for standardizing (and enforcing) the location of
> > configuration templates: let's start with the default one.
> >
> > Signed-off-by: Alexander Kanavin 
>
> I have been trying to apply this patch, and it applies on oe-core, but
> then combo-layer fails in picking it because poky has a different
> .templateconf file. I'm not sure how this should be fixed, maybe the
> patch should be done against meta-yocto (which has a .templateconf
> identical to the one in poky)?
>
> --
> Luca Ceresoli, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169873): 
https://lists.openembedded.org/g/openembedded-core/message/169873
Mute This Topic: https://lists.openembedded.org/mt/93225499/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-25 Thread Luca Ceresoli via lists.openembedded.org
Hello Alex,

On Wed, 24 Aug 2022 14:42:33 +0200
"Alexander Kanavin"  wrote:

> This sets the ground for standardizing (and enforcing) the location of
> configuration templates: let's start with the default one.
> 
> Signed-off-by: Alexander Kanavin 

I have been trying to apply this patch, and it applies on oe-core, but
then combo-layer fails in picking it because poky has a different
.templateconf file. I'm not sure how this should be fixed, maybe the
patch should be done against meta-yocto (which has a .templateconf
identical to the one in poky)?

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169865): 
https://lists.openembedded.org/g/openembedded-core/message/169865
Mute This Topic: https://lists.openembedded.org/mt/93225499/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-24 Thread Alexander Kanavin
This sets the ground for standardizing (and enforcing) the location of
configuration templates: let's start with the default one.

Signed-off-by: Alexander Kanavin 
---
 .templateconf   | 2 +-
 meta/classes-global/sanity.bbclass  | 6 +++---
 meta/conf/{ => templates/default}/bblayers.conf.sample  | 0
 meta/conf/{ => templates/default}/conf-notes.txt| 0
 meta/conf/{ => templates/default}/local.conf.sample | 0
 .../conf/{ => templates/default}/local.conf.sample.extended | 0
 meta/conf/{ => templates/default}/site.conf.sample  | 0
 scripts/oe-setup-builddir   | 6 +++---
 8 files changed, 7 insertions(+), 7 deletions(-)
 rename meta/conf/{ => templates/default}/bblayers.conf.sample (100%)
 rename meta/conf/{ => templates/default}/conf-notes.txt (100%)
 rename meta/conf/{ => templates/default}/local.conf.sample (100%)
 rename meta/conf/{ => templates/default}/local.conf.sample.extended (100%)
 rename meta/conf/{ => templates/default}/site.conf.sample (100%)

diff --git a/.templateconf b/.templateconf
index 0bf5ecf1e5..e399e06acd 100644
--- a/.templateconf
+++ b/.templateconf
@@ -1,2 +1,2 @@
 # Template settings
-TEMPLATECONF=${TEMPLATECONF:-meta/conf}
+TEMPLATECONF=${TEMPLATECONF:-meta/conf/templates/default}
diff --git a/meta/classes-global/sanity.bbclass 
b/meta/classes-global/sanity.bbclass
index 4a403a2590..75c453d486 100644
--- a/meta/classes-global/sanity.bbclass
+++ b/meta/classes-global/sanity.bbclass
@@ -42,7 +42,7 @@ BBLAYERS_CONF_UPDATE_FUNCS += " \
 
 SANITY_DIFF_TOOL ?= "meld"
 
-SANITY_LOCALCONF_SAMPLE ?= "${COREBASE}/meta*/conf/local.conf.sample"
+SANITY_LOCALCONF_SAMPLE ?= 
"${COREBASE}/meta*/conf/templates/default/local.conf.sample"
 python oecore_update_localconf() {
 # Check we are using a valid local.conf
 current_conf  = d.getVar('CONF_VERSION')
@@ -62,7 +62,7 @@ is a good way to visualise the changes."""
 raise NotImplementedError(failmsg)
 }
 
-SANITY_SITECONF_SAMPLE ?= "${COREBASE}/meta*/conf/site.conf.sample"
+SANITY_SITECONF_SAMPLE ?= 
"${COREBASE}/meta*/conf/templates/default/site.conf.sample"
 python oecore_update_siteconf() {
 # If we have a site.conf, check it's valid
 current_sconf = d.getVar('SCONF_VERSION')
@@ -82,7 +82,7 @@ is a good way to visualise the changes."""
 raise NotImplementedError(failmsg)
 }
 
-SANITY_BBLAYERCONF_SAMPLE ?= "${COREBASE}/meta*/conf/bblayers.conf.sample"
+SANITY_BBLAYERCONF_SAMPLE ?= 
"${COREBASE}/meta*/conf/templates/default/bblayers.conf.sample"
 python oecore_update_bblayers() {
 # bblayers.conf is out of date, so see if we can resolve that
 
diff --git a/meta/conf/bblayers.conf.sample 
b/meta/conf/templates/default/bblayers.conf.sample
similarity index 100%
rename from meta/conf/bblayers.conf.sample
rename to meta/conf/templates/default/bblayers.conf.sample
diff --git a/meta/conf/conf-notes.txt 
b/meta/conf/templates/default/conf-notes.txt
similarity index 100%
rename from meta/conf/conf-notes.txt
rename to meta/conf/templates/default/conf-notes.txt
diff --git a/meta/conf/local.conf.sample 
b/meta/conf/templates/default/local.conf.sample
similarity index 100%
rename from meta/conf/local.conf.sample
rename to meta/conf/templates/default/local.conf.sample
diff --git a/meta/conf/local.conf.sample.extended 
b/meta/conf/templates/default/local.conf.sample.extended
similarity index 100%
rename from meta/conf/local.conf.sample.extended
rename to meta/conf/templates/default/local.conf.sample.extended
diff --git a/meta/conf/site.conf.sample 
b/meta/conf/templates/default/site.conf.sample
similarity index 100%
rename from meta/conf/site.conf.sample
rename to meta/conf/templates/default/site.conf.sample
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 5d644168cb..975619789a 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -69,7 +69,7 @@ fi
 
 unset SHOWYPDOC
 if [ -z "$OECORELOCALCONF" ]; then
-OECORELOCALCONF="$OEROOT/meta/conf/local.conf.sample"
+OECORELOCALCONF="$OEROOT/meta/conf/templates/default/local.conf.sample"
 fi
 if [ ! -r "$BUILDDIR/conf/local.conf" ]; then
 cat <
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169810): 
https://lists.openembedded.org/g/openembedded-core/message/169810
Mute This Topic: https://lists.openembedded.org/mt/93225499/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-