diff options
| author | Adam Nilsson <adamni@axis.com> | 2025-10-01 18:02:13 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-06 17:01:10 +0100 |
| commit | bb81da4d40f7722f9f5872de34b077508502218b (patch) | |
| tree | 609026068b257fcb6d7f69586c37dda82c5ddf7c | |
| parent | 4cd06c8979d27e9e86f949d8935a93fe659ba8e9 (diff) | |
| download | poky-bb81da4d40f7722f9f5872de34b077508502218b.tar.gz | |
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 <peter.kjellerstedt@axis.com>
(From OE-Core rev: 078b2707091826cf3eb201655654da428daae37d)
Signed-off-by: Adam Nilsson <Adam.X.Nilsson@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes-recipe/core-image.bbclass | 1 | ||||
| -rw-r--r-- | meta/classes-recipe/populate_sdk_base.bbclass | 1 |
2 files changed, 2 insertions, 0 deletions
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 @@ | |||
| 33 | # LICENSE_CREATE_PACKAGE="1" to be set when building packages too | 33 | # LICENSE_CREATE_PACKAGE="1" to be set when building packages too |
| 34 | # - doc-pkgs - documentation packages for all installed packages in the rootfs | 34 | # - doc-pkgs - documentation packages for all installed packages in the rootfs |
| 35 | # - bash-completion-pkgs - bash-completion packages for recipes using bash-completion bbclass | 35 | # - bash-completion-pkgs - bash-completion packages for recipes using bash-completion bbclass |
| 36 | # - zsh-completion-pkgs - zsh-completion packages | ||
| 36 | # - ptest-pkgs - ptest packages for all ptest-enabled recipes | 37 | # - ptest-pkgs - ptest packages for all ptest-enabled recipes |
| 37 | # - read-only-rootfs - tweaks an image to support read-only rootfs | 38 | # - read-only-rootfs - tweaks an image to support read-only rootfs |
| 38 | # - stateless-rootfs - systemctl-native not run, image populated by systemd at runtime | 39 | # - 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' | |||
| 24 | COMPLEMENTARY_GLOB[src-pkgs] = '*-src' | 24 | COMPLEMENTARY_GLOB[src-pkgs] = '*-src' |
| 25 | COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest ${MLPREFIX}ptest-runner' | 25 | COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest ${MLPREFIX}ptest-runner' |
| 26 | COMPLEMENTARY_GLOB[bash-completion-pkgs] = '*-bash-completion' | 26 | COMPLEMENTARY_GLOB[bash-completion-pkgs] = '*-bash-completion' |
| 27 | COMPLEMENTARY_GLOB[zsh-completion-pkgs] = '*-zsh-completion' | ||
| 27 | 28 | ||
| 28 | def complementary_globs(featurevar, d): | 29 | def complementary_globs(featurevar, d): |
| 29 | all_globs = d.getVarFlags('COMPLEMENTARY_GLOB') | 30 | all_globs = d.getVarFlags('COMPLEMENTARY_GLOB') |
