Arch Linux

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!
Tasklist

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
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
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.
Comment by speps (archspeps) - Thursday, 01 December 2011, 02:12 GMT
Obviously, request topic is wrong. I meant /lib/modules/extramodules-* (doh!)
Comment by Dave Reisner (falconindy) - Thursday, 01 December 2011, 13:48 GMT
Ignoring that this should be sent upstream and not dropped here, the patch is wrong. You should be modifying the _modules function to look in /lib/modules/$(uname -r)/extramodules.
Comment by speps (archspeps) - Thursday, 01 December 2011, 15:48 GMT
@falconindy
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.
Comment by speps (archspeps) - Friday, 09 December 2011, 21:16 GMT

Loading...