[Pkg-alsa-devel] split packages or add debconf options

Stanislav Maslovski stanislav.maslovski at gmail.com
Thu Mar 9 07:44:44 UTC 2006


Hello,

May I comment on the alsa packages you maintain?

First thing I noticed after installing alsa packages (1.0.10) was that I saw
the udev, hotplug and discover supporting scripts installed by default.
People using 2.4.x kernels (like me) do not use udev stuff, also most of them
do not use hotplug or discover. It would be nice if these files could go into
separate package(s). Other possibility could be to ask the user (with
debconf) if he/she needs support for these (optional!) utilities.

Another thing I noticed was the following. When a sound module listed in
/etc/modules is loaded at boot time the post-install script produces an error
on my system because I have separate partitions for root and /usr and the last
one is not mounted at the moment when this script is executed.
To get rid of the annoying error message I had to add another check into the
post-install script (see attached file).

That is all for now.

Yours,
Stanislav

PS I am not subscribed to the list, please reply to my e-mail.
-------------- next part --------------
#!/bin/sh
#
# modprobe post-install script for alsa

case "$1" in
snd-*-synth)
	# module is not a sound card driver with a mixer
	:
	;;
*)
	# module is a sound card driver with a mixer
	[ -x /etc/init.d/alsa-utils -a -x /usr/bin/amixer ] || exit 0
	exec /etc/init.d/alsa-utils start
	;;
esac


More information about the Pkg-alsa-devel mailing list