From: Peter Kjellerstedt <pkj@axis.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 2/4] core-image.bbclass: Improve the documentation of available image features
Date: Wed, 8 Oct 2025 21:52:16 +0200 [thread overview]
Message-ID: <20251008195219.117570-2-pkj@axis.com> (raw)
In-Reply-To: <20251008195219.117570-1-pkj@axis.com>
Group the features based on what they are used for, and also sort the
features within each group.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
meta/classes-recipe/core-image.bbclass | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/meta/classes-recipe/core-image.bbclass b/meta/classes-recipe/core-image.bbclass
index 34d4c2f544..67802f738d 100644
--- a/meta/classes-recipe/core-image.bbclass
+++ b/meta/classes-recipe/core-image.bbclass
@@ -11,10 +11,13 @@
#
# Available IMAGE_FEATURES:
#
+# These features install additional packages into the rootfs:
# - eclipse-debug - Eclipse remote debugging support
# - hwcodecs - Install hardware acceleration codecs
# - nfs-client - NFS client
# - nfs-server - NFS server
+# - package-management - installs package management tools and preserves the package manager database
+# - splash - bootup splash screen
# - ssh-server-dropbear - SSH server (dropbear)
# - ssh-server-openssh - SSH server (openssh)
# - tools-debug - debugging tools
@@ -25,24 +28,28 @@
# - x11 - X server
# - x11-base - X server with minimal environment
# - x11-sato - OpenedHand Sato environment
-# - package-management - installs package management tools and preserves the package manager database
-# - serial-autologin-root - with 'empty-root-password': autologin 'root' on the serial console
-# - dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs
+#
+# These features install complementary packages for all installed packages in the rootfs:
# - dbg-pkgs - debug symbol packages for all installed packages in the rootfs
+# - dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs
+# - doc-pkgs - documentation packages for all installed packages in the rootfs
# - lic-pkgs - license packages for all installed pacakges in the rootfs, requires
# LICENSE_CREATE_PACKAGE="1" to be set when building packages too
-# - doc-pkgs - documentation packages for all installed packages in the rootfs
-# - bash-completion-pkgs - bash-completion packages for recipes using bash-completion bbclass
# - ptest-pkgs - ptest packages for all ptest-enabled recipes
+#
+# These features install complementary development packages:
+# - bash-completion-pkgs - bash-completion packages for recipes using bash-completion bbclass
+#
+# These features tweak the behavior of the rootfs:
# - read-only-rootfs - tweaks an image to support read-only rootfs
# - stateless-rootfs - systemctl-native not run, image populated by systemd at runtime
-# - splash - bootup splash screen
#
-# Features for development purposes (previously part of debug-tweaks):
-# - empty-root-password - the root user has no password set
+# These features are for development purposes (some were previously part of the debug-tweaks feature):
# - allow-empty-password - users can have an empty password
# - allow-root-login - the root user can login
+# - empty-root-password - the root user has no password set
# - post-install-logging - log the output of postinstall scriptlets
+# - serial-autologin-root - with 'empty-root-password': autologin 'root' on the serial console
#
FEATURE_PACKAGES_eclipse-debug = "packagegroup-core-eclipse-debug"
FEATURE_PACKAGES_hwcodecs = "${MACHINE_HWCODECS}"
next prev parent reply other threads:[~2025-10-08 19:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-08 19:52 [PATCH 1/4] core-image.bbclass: Sort the FEATURE_PACKAGES_* Peter Kjellerstedt
2025-10-08 19:52 ` Peter Kjellerstedt [this message]
2025-10-08 19:52 ` [PATCH 3/4] core-image.bbclass: Tweak the descriptions of the image features Peter Kjellerstedt
2025-10-08 19:52 ` [PATCH 4/4] core-image.bbclass: Document two image features that were missing Peter Kjellerstedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251008195219.117570-2-pkj@axis.com \
--to=pkj@axis.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox