Skip to contentSkip to conversation

meta/conf/templates/default/conf-notes.txt: remove

PATCH In review Alexander Kanavin 2 participants 5 messages Feb 16, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 meta/conf/templates/default/conf-notes.txt: remove

This is present in the poky repository, even though it should not be:
https://git.yoctoproject.org/poky/tree/meta/conf/templates/default

I couldn't find which tool leaves the file in place when combining oe-core/bitbake/meta-yocto repos into poky, so this patch is rather a request to point me to where it happens (or just fix it directly there).

---
 meta/conf/templates/default/conf-notes.txt | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 meta/conf/templates/default/conf-notes.txt
meta/conf/templates/default/conf-notes.txt deleted +0 -19
deleted file mode 100644
index cfd1f1977bf..00000000000
@@ -1,19 +0,0 @@
-
-### Shell environment set up for builds. ###
-
-You can now run 'bitbake <target>'
-
-Common targets are:
-    core-image-minimal
-    core-image-full-cmdline
-    core-image-sato
-    core-image-weston
-    meta-toolchain
-    meta-ide-support
-
-You can also run generated qemu images with a command like 'runqemu qemux86-64'.
-
-Other commonly useful commands are:
- - 'devtool' and 'recipetool' handle common recipe tasks
- - 'bitbake-layers' handles common layer tasks
- - 'oe-pkgdata-util' handles common target package tasks
Signature · 1 line
2.39.2
#1 lore raw

PATCH 2/2 meta-poky/conf/templates/default/conf-summary.txt: add a template summary

Existing conf-notes.txt is not adequate in situations where the user needs to select a config template from several, or get an overview of them and is interested only in a brief explanation of what the template is for, but not extended multi-paragraph instructions for how to use it.

Such summaries can be provided via conf-summary.txt and this patch adds such a summary for the poky default template.

Updates to the tools and a tool for selecting templates which will make specific use of the summary will follow.

---
 meta-poky/conf/templates/default/conf-summary.txt | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 meta-poky/conf/templates/default/conf-summary.txt
meta-poky/conf/templates/default/conf-summary.txt new file +1 -0
new file mode 100644
index 00000000000..8fc03030c7f
@@ -0,0 +1 @@
+This is the default build configuration for the Poky reference distribution.
Signature · 1 line
2.39.2
#2 lore raw
In reply to Alexander Kanavin
Quoted 9 lines · Alexander Kanavin

This is present in the poky repository, even though it should not be:
https://git.yoctoproject.org/poky/tree/meta/conf/templates/default

I couldn't find which tool leaves the file in place when combining oe-core/bitbake/meta-yocto repos into poky, so this patch is rather a request to point me to where it happens (or just fix it directly there).

Quoted 5 lines

---
 meta/conf/templates/default/conf-notes.txt | 19 -------------------

 1 file changed, 19 deletions(-)

 delete mode 100644 meta/conf/templates/default/conf-notes.txt

I think you misunderstand how the tool (combo-layer) works and where it was aiming to go. It does combine the repositories together and whilst some files are filtered, on the most part the repositories are meant to be identical between poky and the derivatives, particularly for new files. Over time the differences were meant to be removed.

I guess what you're saying is that the tooling is still unable to have any kind of priority selection between the layers present?

The config is here:

https://git.yoctoproject.org/poky-config/tree/combo-layer.conf

specifically:

file_exclude = meta/conf/bblayers.conf.sample meta/conf/local.conf.sample meta/conf/local.conf.sample.extended meta/conf/site.conf.sample

but you will notice the exclusion lists are very small...

Cheers,

Richard

#3 lore raw
Quoted 9 lines · Richard Purdie

The config is here:

https://git.yoctoproject.org/poky-config/tree/combo-layer.conf

specifically:

file_exclude = meta/conf/bblayers.conf.sample meta/conf/local.conf.sample meta/conf/local.conf.sample.extended meta/conf/site.conf.sample

but you will notice the exclusion lists are very small...

I still don't quite understand what is happening when poky is formed. The above list refers to files in meta/conf/ that no longer even exist (they've been moved to meta/conf/templates/default/), yet oe-core and poky do have differences in the latter:

https://git.openembedded.org/openembedded-core/tree/meta/conf/templates/default
https://git.yoctoproject.org/poky/tree/meta/conf/templates/default

Is there's some other hidden config which lists the correct locations?

Alex

#4 lore raw
Quoted 21 lines · Alexander Kanavin
Quoted 11 lines · Richard Purdie

The config is here:

https://git.yoctoproject.org/poky-config/tree/combo-layer.conf

specifically:

file_exclude = meta/conf/bblayers.conf.sample meta/conf/local.conf.sample meta/conf/local.conf.sample.extended meta/conf/site.conf.sample

but you will notice the exclusion lists are very small...

I still don't quite understand what is happening when poky is formed. The above list refers to files in meta/conf/ that no longer even exist
(they've been moved to meta/conf/templates/default/), yet oe-core and poky do have differences in the latter:

Quoted 5 lines

https://git.openembedded.org/openembedded-core/tree/meta/conf/templates/default
https://git.yoctoproject.org/poky/tree/meta/conf/templates/default

Is there's some other hidden config which lists the correct locations?

Nothing hidden or unmerged other than revision changes, I just checked. I've probably just tried to manually resolve things not realising what the issue was :(

Cheers,

Richard