Created attachment 514854 [details, diff] 0001-app-emulation-libvirt-Install-bash-completion-files.patch Libvirt gained support for bash-completion [1] and we need to install the shell script. I was able to achieve the result with just a few lines of code (see attached patch). 1: https://libvirt.org/git/?p=libvirt.git;a=commit;h=f0d390bc161e3845554244b319e36907d40ad6ef
It probably doesn't make much sense to spend any time on this until these are merged: https://www.redhat.com/archives/libvir-list/2018-January/msg00902.html The attached patch will need to look slightly different then too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a987006baf8f3267fb9df03e16baab99bf1f98b commit 0a987006baf8f3267fb9df03e16baab99bf1f98b Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2018-01-30 17:39:01 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2018-01-30 17:54:56 +0000 app-emulation/libvirt: add bashcompletion support - also apply two minor bugfixes for version 4.0.0 (hopefully fixed in the live version soon.) Closes: https://bugs.gentoo.org/644632 Package-Manager: Portage-2.3.20, Repoman-2.3.6 .../libvirt-4.0.0-bash_completion_bugfixes.patch | 42 ++++++++++++++++++++++ app-emulation/libvirt/libvirt-4.0.0.ebuild | 6 +++- app-emulation/libvirt/libvirt-9999.ebuild | 7 ++-- 3 files changed, 52 insertions(+), 3 deletions(-)