From: Alexander Kanavin <[email protected]>

The info was first added to bitbake-setup, but this is actually the
correct place to do it.

Signed-off-by: Alexander Kanavin <[email protected]>
---
 meta/lib/bbconfigbuild/configfragments.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/lib/bbconfigbuild/configfragments.py 
b/meta/lib/bbconfigbuild/configfragments.py
index 6fdac33a5da..fe2c629d927 100644
--- a/meta/lib/bbconfigbuild/configfragments.py
+++ b/meta/lib/bbconfigbuild/configfragments.py
@@ -115,7 +115,11 @@ class ConfigFragmentsPlugin(LayerPlugin):
     def create_conf(self, confpath):
         if not os.path.exists(confpath):
             with open(confpath, 'w') as f:
-                f.write('# Automated config file controlled by tools\n')
+                f.write("""# Automated config file controlled by tools
+#
+# Run 'bitbake-config-build enable-fragment <fragment-name>' to enable 
additional fragments
+# or replace built-in ones (e.g. machine/<name> or distro/<name> to change 
MACHINE or DISTRO).
+""")
         with open(confpath, 'r') as f:
             lines = f.read()
         if "OE_FRAGMENTS += " not in lines:
-- 
2.39.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#226613): 
https://lists.openembedded.org/g/openembedded-core/message/226613
Mute This Topic: https://lists.openembedded.org/mt/116389087/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to