kmod: add --with-bashcompletiondir option (#22167)

This commit is contained in:
Tomoyasu Nojiri 2021-03-08 18:21:15 +09:00 committed by GitHub
parent 90ace2d0ec
commit c25a723d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,3 +28,9 @@ class Kmod(AutotoolsPackage):
def autoreconf(self, spec, prefix):
bash = which("bash")
bash('autogen.sh')
def configure_args(self):
args = ["--with-bashcompletiondir=" +
join_path(self.spec['kmod'].prefix, 'share',
'bash-completion', 'completions')]
return args