Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469892 - sys-kernel/dracut-027* - installs bash-completion in two directories
Summary: sys-kernel/dracut-027* - installs bash-completion in two directories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 469858
Blocks:
  Show dependency tree
 
Reported: 2013-05-14 22:57 UTC by Alexander Tsoy
Modified: 2013-07-06 21:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2013-05-14 22:57:41 UTC
$ 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.
Comment 1 Amadeusz Żołnowski (RETIRED) gentoo-dev 2013-05-19 16:25:44 UTC
Yes, let's wait.
Comment 2 Amadeusz Żołnowski (RETIRED) gentoo-dev 2013-05-20 18:23:09 UTC
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.
+
Comment 3 Alexander Tsoy 2013-06-17 13:44:46 UTC
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
Comment 4 Amadeusz Żołnowski (RETIRED) gentoo-dev 2013-07-06 21:13:47 UTC
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.
+