]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/configfragments: add a show-fragments command
authorAntonin Godard <antonin.godard@bootlin.com>
Fri, 5 Sep 2025 12:23:57 +0000 (14:23 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Sep 2025 17:02:37 +0000 (18:02 +0100)
commit71cd1ae6a8367f2135855a2904e8b8d4967efd99
treec848468b37f72230853d77f63102fdc8fed6d471
parentd077777cbdb4b00eb424289e85fe661f69a9877a
lib/configfragments: add a show-fragments command

We can print information on fragments (name, location, description,
etc.), but not their content.

Add a show-fragment command to do that. It can be used as follows:

  $ bitbake-config-build show-fragment core/yocto/sstate-mirror-cdn

And prints:

  .../meta/conf/fragments/yocto/sstate-mirror-cdn.conf:

  BB_CONF_FRAGMENT_SUMMARY = "Use prebuilt sstate artifacts for standard Yocto build configurations."
  BB_CONF_FRAGMENT_DESCRIPTION = "The Yocto Project has prebuilt artefacts available for standard build configurations. \
  ...

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/bbconfigbuild/configfragments.py