summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Slater <joe.slater@windriver.com>2019-10-01 14:36:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-02 20:22:02 +0100
commitd47c5981877555a5a6b9aeb93ea6f3c1aa97fc44 (patch)
tree9d474509c50a0f55e983239aaf65cbc2b7f52ae4
parent0315aabeff8e6483b737d0e23d6841f1394ad3c8 (diff)
downloadopenembedded-core-contrib-d47c5981877555a5a6b9aeb93ea6f3c1aa97fc44.tar.gz
openembedded-core-contrib-d47c5981877555a5a6b9aeb93ea6f3c1aa97fc44.tar.bz2
openembedded-core-contrib-d47c5981877555a5a6b9aeb93ea6f3c1aa97fc44.zip
bash-completion: add image feature
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>
-rw-r--r--meta/classes/core-image.bbclass1
-rw-r--r--meta/classes/populate_sdk_base.bbclass1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass
index a9a2cec68f..94f112c397 100644
--- a/meta/classes/core-image.bbclass
+++ b/meta/classes/core-image.bbclass
@@ -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
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 4e3794f75c..d03465b6fc 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -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')