[Pkg-alsa-devel] Bug#316909: /etc/dev.d/ is obsolete
Marco d'Itri
Marco d'Itri <md@linux.it>, 316909@bugs.debian.org
Mon, 4 Jul 2005 20:24:58 +0200
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Package: alsa-base
Version: 1.0.9b-2
Severity: normal
Please remove /etc/dev.d/snd/controlC*/alsa-base.dev and
/etc/alsa/dev.d/alsa-base from the package.
alsa-base should conflict with udev << 0.060 and install a rules file
containing something like:
KERNEL=3D=3D"controlC[0-7]", ACTION=3D=3Dadd, RUN+=3D"/etc/init.d/alsa s=
tart %k"
KERNEL=3D=3D"controlC[0-7]", ACTION=3D=3Dremove, RUN+=3D"/etc/init.d/alsa s=
top %k"
It should be installed as /etc/udev/alsa-base.rules (or a similar name)
and then postinst should create a symlink to it in /etc/udev/rules.d/
*only* the first time the package is installed or upgraded, to allow
root to remove the symlink.
(You will probably need to create a flag file in preinst, look at the
udev dpkg script for an example.)
The symlink should be named z60_alsa-base.rules (see README.Debian for
details about the naming convention used).
--=20
ciao,
Marco
--=20
ciao,
Marco
--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCyX76FGfw2OHuP7ERAp4jAJ49LUQoSkBvE3/O3MNKtpXWiNbangCgnmDz
1UcjUHD2uRpBo3w6bZuMnkk=
=ACrr
-----END PGP SIGNATURE-----
--W/nzBZO5zC0uMSeA--