mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
kmod: use bash-completion.bbclass
Use bash-completion.bbclass to package bash completions. (From OE-Core rev: 4f0716690ff4c7169b07e352df2301e77a3abc03) 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>
This commit is contained in:
committed by
Richard Purdie
parent
0f3780cd1b
commit
d88ed5d3a0
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user