Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#27374 - [bash-completion] Look for modules in /usr/lib/extramodules-*
Attached to Project:
Arch Linux
Opened by speps (archspeps) - Thursday, 01 December 2011, 01:21 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 10 December 2011, 03:28 GMT
Opened by speps (archspeps) - Thursday, 01 December 2011, 01:21 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 10 December 2011, 03:28 GMT
|
DetailsDescription:
Currently, modules located in /lib/modules/extramodules-3.1-ARCH/ are not listed nor completed when using modprobe, insmod or modinfo. The attached patch + PKGBUILD add support for the extramodules path. Additional info: * package version(s) 1.3-2 and previous Steps to reproduce: Install "somemodule.ko" in /lib/modules/extramodules-3.1-ARCH modprobe somemo [TAB] -> Nothing happens |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 10 December 2011, 03:28 GMT
Reason for closing: Deferred
Additional comments about closing: Thanks for your work getting this in upstream. I intend to update bash-completion with a git tarball soon to fix this and other issues. I'm waiting for pacman to leave testing as they changed the completions location so all pkg with completions will need to be adjusted.
Saturday, 10 December 2011, 03:28 GMT
Reason for closing: Deferred
Additional comments about closing: Thanks for your work getting this in upstream. I intend to update bash-completion with a git tarball soon to fix this and other issues. I'm waiting for pacman to leave testing as they changed the completions location so all pkg with completions will need to be adjusted.
PKGBUILD
Yep, I forgot about the symlink.
$ ls -ld /lib/modules/$(uname -r)/extramodules
lrwxrwxrwx 1 root root 24 29 nov 08.59 /lib/modules/3.1.4-1-ARCH/extramodules -> ../extramodules-3.1-ARCH
So there's no need to fetch directly from /lib/modules/extramodules-3.1-ARCH,
a simple -L flag to ls in enough (it will not follow symlink otherwise).
Attached is a newer patch.
I didn't reported this upstream, cause i do not think this would be suitable for other distro too,
since extramodules is an Arch convention.
Btw, now that patch is less invasive, i'll send this upstream.
Bug Report: https://alioth.debian.org/tracker/index.php?func=detail&aid=313461&group_id=100114&atid=413095
Commit: http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commit;h=98fe4713a3f006b47f697307a68acde6150ca110
Patch Applied: http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=patch;h=98fe4713a3f006b47f697307a68acde6150ca110
Fix will be available on next release, btw i don't know when it will come out.
So, meanwhile, patch can be safely applied.