alsa-driver.spec
maHo
lukasz at mach.com.pl
Sun Nov 23 21:32:26 CET 2003
pomijając problem z unresolved externals (mimo wszystko alsa działa)
zauważyłem problem następujący:
przy uprgrade z jakiejś starszej wersji alsy, zostaje w /dev/ link
/dev/snd -> /proc/asound/dev, który jest nieaktualny.
wobec tego proponuję załączoną łatkę w alsa-driver.spec
pozdrav
maHo
--
lukasz shift-2 mach.com.pl,http://www.lukasz.mach.com.pl gg://1612670
jabber://maHo@jabberpl.org jabber://maHo@jabber.org icq://136281200
-->"You do not beg the sun for mercy." | -Maud'dib's Travail from The
Stilgar Commentary
-------------- next part --------------
Index: alsa-driver.spec
===================================================================
RCS file: /cvsroot/SPECS/alsa-driver.spec,v
retrieving revision 1.129
diff -u -r1.129 alsa-driver.spec
--- alsa-driver.spec 20 Nov 2003 20:29:19 -0000 1.129
+++ alsa-driver.spec 23 Nov 2003 20:24:32 -0000
@@ -234,6 +234,8 @@
%{!?with_pcmcia:rm -f $RPM_BUILD_ROOT/lib/modules/*/misc/snd-vxpocket.o}
%endif
+install -D -m 700 snddevices $RPM_BUILD_ROOT/usr/sbin/alsa-snddevices
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -249,6 +251,7 @@
echo "the snd_ prefix automatically.";\
echo;\
fi;
+/usr/sbin/alsa-snddevices
%postun -n kernel-sound-alsa
%depmod %{_kernel_ver}
@@ -265,6 +268,7 @@
echo "the snd_ prefix automatically.";\
echo;\
fi;
+/usr/sbin/alsa-snddevices
%postun -n kernel-smp-sound-alsa
%depmod %{_kernel_ver}smp
@@ -276,6 +280,7 @@
%doc %attr(744,root,root) snddevices
/lib/modules/%{_kernel_ver}/misc/*
%{?with_pcmcia:%exclude /lib/modules/%{_kernel_ver}/misc/snd-vxpocket.o*}
+%attr(700,root,root) /usr/sbin/alsa-snddevices
%if %{with smp}
%files -n kernel-smp-sound-alsa
@@ -284,6 +289,7 @@
%doc %attr(744,root,root) snddevices
/lib/modules/%{_kernel_ver}smp/misc/*
%{?with_pcmcia:%exclude /lib/modules/%{_kernel_ver}smp/misc/snd-vxpocket.o*}
+%attr(700,root,root) /usr/sbin/alsa-snddevices
%{?with_pcmcia:%files -n kernel-smp-sound-alsa-pcmcia}
%{?with_pcmcia:%defattr(644,root,root,755)}
More information about the pld-devel-pl
mailing list