From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7924 invoked by uid 1002); 3 Dec 2003 15:35:46 -0600 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 19147 invoked from network); 3 Dec 2003 15:35:46 -0600 Message-ID: <023301c3b9e5$62a81da0$13fcd70a@1d36l> From: "Paul Varner" To: Cc: References: <1070433773.21867.107.camel@garath> <34481.130.95.194.170.1070436545.squirrel@wdk.dyndns.org> <1070438526.15115.78.camel@ht.gentoo.org> Date: Wed, 3 Dec 2003 15:35:34 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: [gentoo-dev] kernelmod-rebuild-0.1 X-Archives-Salt: 81f13dc2-f6bf-491e-98c7-263c2651b73a X-Archives-Hash: a3e9d4732d4984fac2515b677665cd9c Daniel Robbins wrote: >> Something I couldnt see from from your explanation: does it leave existing >> modules in place if you change your kernel? If it does it will be the >> answer to my prayers as I am currently building kernels ... > > The latest Portage (-r18) should leave existing modules in place. As I discovered earlier today, the latest 2.0.49-r18 in the portage tree does not contain the fixed portage.py file to prevent existing modules from being removed. Until the fixes make it into a portage a workaround is to set the CONFIG_PROTECT variable on the command line where you run the emerge command. For example, while I was testing this I had gentoo-test-r1 as my main kernel. For the testing, I installed gentoo-sources-r9. After I changed /usr/src/linux to point to /usr/src/linux-2.4.20-gentoo-r9, I ran kernelmod-rebuild with the following command: env CONFIG_PROTECT="/lib/modules/2.4.22-gentoo-test-r1" kernelmod-rebuild --quiet -- --verbose This resulted in my third-party kernel modules being rebuilt for the gentoo-sources kernel and left the modules for the gentoo-test kernel in place. I would not recommend setting this in the make.conf file as when you reinstall one of the packages for a kernel where you have already installled the package, you typically want the old modules to be overwritten. Regards, Paul -- gentoo-dev@gentoo.org mailing list