From: Adam Nilsson Date: Wed, 1 Oct 2025 16:02:13 +0000 (+0200) Subject: core-image, populate_sdk_base: Add zsh-completion-pkgs image feature X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7e3b72a30bd3dc19a3b6f2f454b03e347a8ef46;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git core-image, populate_sdk_base: Add zsh-completion-pkgs image feature Add a zsh-completion-pkgs image feature to install *-zsh-completion packages into an image. This is similar to the existing bash-completion-pkgs feature. Suggested-by: Peter Kjellerstedt Signed-off-by: Adam Nilsson Signed-off-by: Mathieu Dubois-Briand --- diff --git a/meta/classes-recipe/core-image.bbclass b/meta/classes-recipe/core-image.bbclass index 4072e420c5..309a7c577b 100644 --- a/meta/classes-recipe/core-image.bbclass +++ b/meta/classes-recipe/core-image.bbclass @@ -33,6 +33,7 @@ # 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 +# - zsh-completion-pkgs - zsh-completion packages # - ptest-pkgs - ptest packages for all ptest-enabled recipes # - read-only-rootfs - tweaks an image to support read-only rootfs # - stateless-rootfs - systemctl-native not run, image populated by systemd at runtime diff --git a/meta/classes-recipe/populate_sdk_base.bbclass b/meta/classes-recipe/populate_sdk_base.bbclass index 0c2fd26e6f..8e671cf28f 100644 --- a/meta/classes-recipe/populate_sdk_base.bbclass +++ b/meta/classes-recipe/populate_sdk_base.bbclass @@ -24,6 +24,7 @@ COMPLEMENTARY_GLOB[dbg-pkgs] = '*-dbg' COMPLEMENTARY_GLOB[src-pkgs] = '*-src' COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest ${MLPREFIX}ptest-runner' COMPLEMENTARY_GLOB[bash-completion-pkgs] = '*-bash-completion' +COMPLEMENTARY_GLOB[zsh-completion-pkgs] = '*-zsh-completion' def complementary_globs(featurevar, d): all_globs = d.getVarFlags('COMPLEMENTARY_GLOB')