Mailinglist Archive: yast-devel (168 mails)

< Previous Next >
Re: [yast-devel] YaST2-sound rebuild
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Mon, 07 Apr 2008 12:47:43 +0200
  • Message-id: <47F9FBCF.1070600@xxxxxxx>
Dean Hilkewich wrote:
Is it possible to make the src.rpm package for the YaST2-sound generate a new list of supported cards from the alsa modules that are present on the system? I see the script that is supposed to do that in yast2-sound-2.16.4/data/src but it doesn't get triggered when doing a rpmbuild --rebuild. This way adding new soundcard support in the YaST module would be easier if the card is supported by a newer kernel or alsa update.

I already wanted to move the database rebuild to the RPM build, but it is not
so easy as it seemed so. (The problem is that it uses version of the running
kernel which might not be the same as the kernel in rpm package in autobuild system).
Currently it's postponed.

To regenerate the database use

make -f Makefile.generate clean
make -f Makefile.generate

in 'data' directory. The database is in 'sndcards.ycp', back it up and check the diff after rebuilding it.


Ladislav


--

Best Regards

Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References