Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193303 - media-sound/alsa-utils - alsaconf calls deprecated modules-update instead of update-modules
Summary: media-sound/alsa-utils - alsaconf calls deprecated modules-update instead of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo ALSA team
URL: https://bugtrack.alsa-project.org/als...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 09:22 UTC by Jack Kelly
Modified: 2008-03-12 17:03 UTC (History)
1 user (show)

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


Attachments
Replace the modules-update call with update-modules (alsaconf-no-modules-update.patch,528 bytes, patch)
2007-09-21 09:22 UTC, Jack Kelly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Kelly 2007-09-21 09:22:27 UTC
See summary. Patch follows.

Reproducible: Always

Steps to Reproduce:
1. Run alsaconf and configure your sound card.
2. Observe the "modules-update is going away" warning.
3. Cry.

Actual Results:  
modules-update was called showing a warning.

Expected Results:  
update-modules should be called instead.

I'll upload a patch in a minute.
Comment 1 Jack Kelly 2007-09-21 09:22:56 UTC
Created attachment 131501 [details, diff]
Replace the modules-update call with update-modules
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 09:37:30 UTC
Looks just fine here w/ media-sound/alsa-utils-1.0.15_rc1

<snip>
    if [ "$distribution" = "gentoo" ]; then
      xecho "Running modules-update..."
      modules-update
</snip>
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-09-21 16:05:39 UTC
Jakub, could you just run `modules-update`?
Comment 4 Jack Kelly 2007-09-21 16:12:25 UTC
Yes, modules-update still exists, however:

/sbin/modules-update from sys-apps/module-init-tools version 3.2.2-r3 on ~x86 line 32:

[[ ${argv0} == "modules-update" ]] && ewarn "Please run 'update-modules' from now on; 'modules-update' is going away"

Reopening. If I shouldn't be reopening bugs, someone let me know.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 16:13:02 UTC
(In reply to comment #3)
The whole confusion here comes from the fact that the patch is messing with irrelevant debian stuff.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 16:13:32 UTC
Plus get this upstream, please.
Comment 7 Jack Kelly 2007-09-21 16:36:03 UTC
Reported upstream.
Comment 8 Christian Heim (RETIRED) gentoo-dev 2007-10-03 14:42:32 UTC
Fixed w/ 1.0.14-r2. Thanks Jack.
Comment 9 Jack Kelly 2007-10-04 15:39:42 UTC
media-sound/alsa-utils-1.0.15_rc1 should probably be patched too, as it also shows this problem and there's no signs of life on the upstream bug.
Comment 10 Helmut Auer 2007-11-12 20:00:49 UTC
Sorry for hijacking, but the correct place for the alsa config file should be  /etc/modprobe.d/alsa for 2.6 kernels, not /etc/modules.d/alsa.
Comment 11 Tony Vroon (RETIRED) gentoo-dev 2008-03-12 17:03:03 UTC
This was fixed by Christian Heim for 1.0.14; unfortunately for some reason the patch wasn't applied in 1.0.15 ebuilds. To confirm, 1.0.16 applies it:
epatch "${FILESDIR}/${PN}-1.0.14-alsaconf-modules-update.patch"

Apologies for the inconvenience.