diff options
author | George McCollister <george.mccollister@gmail.com> | 2016-01-14 14:56:36 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-29 18:14:55 +0000 |
commit | 4f0716690ff4c7169b07e352df2301e77a3abc03 (patch) | |
tree | 8e601866a33cbbb5ac9be029d8958b7179481adc | |
parent | 2139a841e44e1b765421cc76c85eb0a7b43dd953 (diff) | |
download | openembedded-core-4f0716690ff4c7169b07e352df2301e77a3abc03.tar.gz openembedded-core-4f0716690ff4c7169b07e352df2301e77a3abc03.tar.bz2 openembedded-core-4f0716690ff4c7169b07e352df2301e77a3abc03.zip |
kmod: use bash-completion.bbclass
Use bash-completion.bbclass to package bash completions.
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/recipes-kernel/kmod/kmod_git.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb index e0bb95c8f6..69185b2453 100644 --- a/meta/recipes-kernel/kmod/kmod_git.bb +++ b/meta/recipes-kernel/kmod/kmod_git.bb @@ -39,7 +39,7 @@ do_compile_prepend() { sed -i 's/ac_pwd=/#ac_pwd=/' config.status ; sed -i "/#ac_pwd=/a\ac_pwd='.'" config.status } -inherit update-alternatives +inherit update-alternatives bash-completion ALTERNATIVE_PRIORITY = "60" @@ -56,8 +56,7 @@ ALTERNATIVE_TARGET[lsmod] = "${base_bindir}/lsmod.${BPN}" ALTERNATIVE_LINK_NAME[depmod] = "${base_sbindir}/depmod" -PACKAGES =+ "libkmod ${PN}-bash-completion" +PACKAGES =+ "libkmod" FILES_libkmod = "${base_libdir}/libkmod*${SOLIBS} ${libdir}/libkmod*${SOLIBS}" FILES_${PN} += "${base_libdir}/depmod.d ${base_libdir}/modprobe.d" -FILES_${PN}-bash-completion = "${datadir}/bash-completion" |