From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eliot Blennerhassett Subject: Re: alsa-compile.sh - easy testing of latest ALSA code Date: Wed, 24 Feb 2010 09:47:35 +1300 Message-ID: <4B843EE7.2080602@audioscience.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by alsa0.perex.cz (Postfix) with ESMTP id B811B103899 for ; Tue, 23 Feb 2010 21:48:39 +0100 (CET) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nk1gL-0004N0-N4 for alsa-devel@alsa-project.org; Tue, 23 Feb 2010 21:48:37 +0100 Received: from 121-72-250-62.cable.telstraclear.net ([121.72.250.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2010 21:48:37 +0100 Received: from eblennerhassett by 121-72-250-62.cable.telstraclear.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2010 21:48:37 +0100 In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org Cc: Takashi Iwai , ALSA development List-Id: alsa-devel@alsa-project.org Jaroslav Kysela wrote: > On Tue, 23 Feb 2010, Takashi Iwai wrote: >> Just one point I noticed quickly is that the standard directory for >> update modules is either /lib/modules/$VERSION/updates or >> /lib/modules/$VERSION/extras. We should follow that. > > The script just call 'make install-modules' in the alsa-driver package. > Anyway, overwriting kernel modules is just a workaround to bypass the > standard packaging. I don't think that using a special directory helps. I think it helps: Building drivers from source I usually configure --with-moddir=updates/alsa This means * The newly generated modules do not overwrite the distro supplied ones. * I can easily revert to the distro ones by deleting updates/alsa (my updates directory also has a dkms subdirectory) and rerunning depmod -- Eliot