]> code.ossystems Code Review - openembedded-core.git/commitdiff
bash-completion: add image feature
authorJoe Slater <joe.slater@windriver.com>
Tue, 1 Oct 2019 21:36:20 +0000 (14:36 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Oct 2019 19:22:02 +0000 (20:22 +0100)
Create bash-completion-pkgs image feature to load *-bash-completion packages
into an image.  The packages are created by the bash-completion
bbclass but are currently never loaded.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/core-image.bbclass
meta/classes/populate_sdk_base.bbclass

index a9a2cec68f939b705ddefe65ac6fb5a613baa051..94f112c397d797742d46aba2df91d2e619bc0494 100644 (file)
@@ -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
+# - bash-completion-pkgs - bash-completion packages for recipes using bash-completion bbclass
 # - ptest-pkgs          - ptest packages for all ptest-enabled recipes
 # - read-only-rootfs    - tweaks an image to support read-only rootfs
 # - splash              - bootup splash screen
index 4e3794f75c64f5d2606ef24c43a8fe9c5260b35e..d03465b6fc94706c742bcda37def266ecd5b57cd 100644 (file)
@@ -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[bash-completion-pkgs] = '*-bash-completion'
 
 def complementary_globs(featurevar, d):
     all_globs = d.getVarFlags('COMPLEMENTARY_GLOB')