$ qlist dracut | grep bash-completion /usr/share/bash-completion/dracut /usr/share/bash-completion/completions/dracut I already proposed a patch for this issue in bug 467754, but maybe it would be better to wait for decision in bug 469858.
Yes, let's wait.
For now I have committed bashcomp related part from https://bugs.gentoo.org/attachment.cgi?id=348338 which discards use of bash-completion eclass. +*dracut-027-r3 (20 May 2013) + + 20 May 2013; Amadeusz Żołnowski <aidecoe@gentoo.org> dracut-027-r2.ebuild, + +dracut-027-r3.ebuild: + Bashcomp fixes wrt bug #469892. + + Thanks to Alexander Tsoy <alexander@tsoy.me> for patch: + https://bugs.gentoo.org/attachment.cgi?id=348338 + + Which bashcomp related part has been applied slightly modified. +
We can use get_bashcompdir() now. It still hardcodes the path "/usr/share/bash-completion", but this may be changed in the near future (see bug 472938). http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/bash-completion-r1.eclass?r1=1.3&r2=1.4
Thank you, Alexander. + 06 Jul 2013; Amadeusz Żołnowski <aidecoe@gentoo.org> dracut-027-r3.ebuild, + dracut-029.ebuild: + Use get_bashcompdir() of bash-completion-r1 eclass. +