diff options
author | George McCollister <george.mccollister@gmail.com> | 2016-01-14 14:56:31 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:37:02 +0000 |
commit | 9cddc0a7a20e15d61beb190ae10fb77a8f6b7041 (patch) | |
tree | b9fabced5400b9b61680beefd5c3b23b2fc73361 | |
parent | ddb786c858984b3bd91bf25826e27d8a966c445c (diff) | |
download | poky-9cddc0a7a20e15d61beb190ae10fb77a8f6b7041.tar.gz |
bash-completion.bbclass: add class
Add bash-completion.bbclass which will package bash completion files in
a subpackage ${PN}-bash-completion. Use of this class will ensure
consitent handling of bash completions across recipes.
(From OE-Core rev: 80138689c2454781c21f0bcce92d8721c34c7405)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/bash-completion.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/bash-completion.bbclass b/meta/classes/bash-completion.bbclass new file mode 100644 index 0000000000..74a878edfc --- /dev/null +++ b/meta/classes/bash-completion.bbclass | |||
@@ -0,0 +1,5 @@ | |||
1 | PACKAGES += "${PN}-bash-completion" | ||
2 | |||
3 | FILES_${PN}-bash-completion = "${datadir}/bash-completion ${sysconfdir}/bash_completion.d" | ||
4 | |||
5 | RDEPENDS_${PN}-bash-completion = "bash-completion" | ||