From: Alexander Kanavin Date: Thu, 20 Nov 2025 11:24:23 +0000 (+0100) Subject: bbconfigbuild/configfragments.py: add information about enabling fragments to toolcfg... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4742334451f5bd9d91d0332cf3d5bbf218db1361;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bbconfigbuild/configfragments.py: add information about enabling fragments to toolcfg.conf The info was first added to bitbake-setup, but this is actually the correct place to do it. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- 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 ' to enable additional fragments +# or replace built-in ones (e.g. machine/ or distro/ to change MACHINE or DISTRO). +""") with open(confpath, 'r') as f: lines = f.read() if "OE_FRAGMENTS += " not in lines: