At Wed, 24 Nov 2010 11:50:28 +0100, Kay Sievers wrote:
On Wed, Nov 24, 2010 at 06:40, Takashi Iwai tiwai@suse.de wrote:
At Tue, 23 Nov 2010 18:05:00 +0100, Kay Sievers wrote:
Now that both is merged, mind putting that in openSUSE Factory?
Sure. A few questions, though:
We need to enable systemd services with: --with-systemdsystemunitdir=/lib/systemd/system
list the files/dirs in: /lib/systemd/system/*.service /lib/udev/rules.d/*.rules
These come from alsa-utils, obviously. But alsa.rpm requires alsa-utils, so this should be OK.
Fine.
Drop the current custom udev rule: /etc/udev/rules.d/40-alsa.rules and use only the systemd one in /lib/udev/. It should work also for non-systemd setups.
Do you mean I copy systemd's rules file to alsa.rpm...?
Can't we just let them get installed from alsa-utils.rpm? And drop the current rule from alsa.rpm?
Yes, we can.
We need a rules file for non-systemd (i.e. without systemd.rpm), so someone still needs to provide a udev stuff for sound, I suppose?
Oh, we just enable --with-systemd and install the systemd files and udev rules unconditionally, they don't pull systemd.rpm in, the systemd files will jsut be ignored on SYSV boxes, but the udev rule will still be used. That should work and is how it usually works.
Ah, so you mean 90-alsa-restore.rules in alsa-utils package, and drop 40-alsa.rules in the current alsa.rpm. OK, that's easy.
thanks,
Takashi