From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DATE_IN_PAST_12_24, INVALID_DATE,MAILING_LIST_MULTI,NO_RELAYS autolearn=no autolearn_force=no version=4.0.0 Received: from drobbins by cvs.gentoo.org with local (Exim 3.22 #1) id 14QCmu-0007AK-00 for gentoo-dev@gentoo.org; Tue, 06 Feb 2001 11:24:24 -0700 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] issues with installing a new kernel Message-ID: <20010206112424.C27453@cvs.gentoo.org> References: <20010206104751.A27279@cvs.gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010206104751.A27279@cvs.gentoo.org>; from pete@gentoo.org on Tue, Feb 06, 2001 at 10:47:51AM -0700 From: Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Tue Feb 6 11:25:01 2001 X-Original-Date: Tue, 6 Feb 2001 11:24:24 -0700 X-Archives-Salt: 6be8ca97-0d31-45f7-8103-dc1dd8ced801 X-Archives-Hash: b34faf397ce20c65b1ab41816b6a5b30 On Tue, Feb 06, 2001 at 10:47:51AM -0700, Pete Gavin wrote: > Hi, > > I found a couple of issues with installing a new kernel... > > First of all, I accidently installed the package w/o first mounting > /boot. So, after I rebooted, grub loaded the old kernel, since it > wasn't overwritten by the new one. I don't know if it would be a good > idea to mount /boot from the ebuild script, but we should maybe add > some kind of warning to it to at least remind people of it. Second, I > *do* think it would be a good idea to add depmod -a {kernel_version} > to the ebuild script, since this only changes stuff in the new module > directory, which just got installed anyways. What do you guys think? I think it would be good if the /boot mounted check were done in the pkg_preinst() function, which gets called right before a merge. Yes, it's fine to call depmod -a; if possible, find a way to make it work with ${ROOT} so that we can merge to non-root filesystems and have depmod operate on the correct set of modules. Thanks again, -- Daniel Robbins President/CEO http://www.gentoo.org Gentoo Technologies, Inc.