Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103885 - alsa-utils ebuild don't install init script file 'alsasound'
Summary: alsa-utils ebuild don't install init script file 'alsasound'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 103907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-26 23:22 UTC by mona-
Modified: 2005-08-27 04:10 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 mona- 2005-08-26 23:22:45 UTC
I emerged alsa-utils-1.0.9a-r1.
At last of it,

"you should add alsasound to the boot runlevel.
 You can do this as root like so:
  # rc-update add alsasound boot"

appeared such message and i followed it.
but,

" * /sbin/rc-update: /etc/init.d/alsasound not found; aborting."

above message appeared.

I had searched 'alsasound' in /etc/init.d, but it didn't there.
Then i saw the ebuild and found a reason of this problem.

In alsa-utils-1.0.9a-r1.ebuild, line 45,

"  newinitd ${FILESDIR}/alsasound"

The newinitd has only one argment.

by http://dev.gentoo.org/~plasmaroo/devmanual/function-reference/install-functions/
>The new* functions take exactly two arguments (except as noted)
> -- the first is the source name, the second the name to use 
>when installing.

It should be that,

"  newinitd ${FILESDIR}/alsasound alsasound"

I rewrited the ebuild above and tried emerge again, and succeed.

Reproducible: Always
Steps to Reproduce:
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-27 02:13:54 UTC
Thanks, it should have been a "doinitd". 
Fixed now. 
 
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-27 04:10:48 UTC
*** Bug 103907 has been marked as a duplicate of this bug. ***