bash-completion: add image feature
PATCH 1/1 bash-completion: add image feature
Create bc-pkgs image feature to load *-bash-completion packages into an image. The packages are created by the bash-completion bbclass but are currently never referenced.
Signed-off-by Joe Slater <[email protected]>
--- meta/classes/core-image.bbclass | 1 + meta/classes/populate_sdk_base.bbclass | 1 + 2 files changed, 2 insertions(+)
meta/classes/core-image.bbclass +1 -0
@@ -30,6 +30,7 @@ # - dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs # - dbg-pkgs - debug symbol packages for all installed packages in the rootfs # - doc-pkgs - documentation packages for all installed packages in the rootfs +# - bc-pkgs - bash-completion packages for relevant packages in the rootfs # - ptest-pkgs - ptest packages for all ptest-enabled recipes # - read-only-rootfs - tweaks an image to support read-only rootfs # - splash - bootup splash screen
meta/classes/populate_sdk_base.bbclass +1 -0
@@ -8,6 +8,7 @@ COMPLEMENTARY_GLOB[doc-pkgs] = '*-doc' COMPLEMENTARY_GLOB[dbg-pkgs] = '*-dbg' COMPLEMENTARY_GLOB[src-pkgs] = '*-src' COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest' +COMPLEMENTARY_GLOB[bc-pkgs] = '*-bash-completion' def complementary_globs(featurevar, d): all_globs = d.getVarFlags('COMPLEMENTARY_GLOB')
Signature · 1 line
2.7.4
Quoted 6 lines · Joe Slater
Create bc-pkgs image feature to load *-bash-completion packages into an image. The packages are created by the bash-completion bbclass but are currently never referenced.
...
+COMPLEMENTARY_GLOB[bc-pkgs] = '*-bash-completion'
...
What about naming it bash-completion-pkgs?
This is not related to meta/recipes-extended/bc,
and descriptive names are easier to understand.
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed