From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF7CC138AE9 for ; Thu, 28 Dec 2017 20:17:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DFEEE0E63; Thu, 28 Dec 2017 20:16:30 +0000 (UTC) Received: from mail.muc.de (colin.muc.de [193.149.48.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC4E6E0E56 for ; Thu, 28 Dec 2017 20:16:26 +0000 (UTC) Received: (qmail 56441 invoked by uid 3782); 28 Dec 2017 20:16:22 -0000 Received: from acm.muc.de (p548C6125.dip0.t-ipconnect.de [84.140.97.37]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 28 Dec 2017 21:16:21 +0100 Received: (qmail 17825 invoked by uid 1000); 28 Dec 2017 20:13:18 -0000 Date: Thu, 28 Dec 2017 20:13:18 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Using an old kernel .config as the basis for a new .config Message-ID: <20171228201318.GB17094@ACM> References: <20171228195236.GA17094@ACM> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: f0b8b63d-9d4c-4035-8f1d-b2dc4118fdad X-Archives-Hash: 58c1dabba0666446469312713a4cd29d Hello, Jack. On Thu, Dec 28, 2017 at 15:05:04 -0500, Jack wrote: > On 2017.12.28 14:52, Alan Mackenzie wrote: > > Hello, Gentoo. > > Having just built linux-4.14.7-gentoo, suddenly a new version of the > > kernel, linux-4.14.8-gentoo-r1 has become stable. Configuring a > > kernel from scratch is a repetitive drudge. > > There is some way of initialising a new kernel .config from an > > existing one, I am sure, but I can't find it. I've looked at the > > Gentoo wiki, I've looked at (some of) the kernel's own > > documentation. The nearest I can find is make oldconfig, which > > supposedly does what I want, but it just seems to start off with a > > default .config and go through the hundreds of questions one at a > > time. > > So, would some kind soul please tell me how to get my old .config > > into a new one properly. Thanks! > You need to copy your old .config into the new kernel source > directory. "make oldconfig" then uses those values, and only asks you > about new items. It sounds like it was asking about everything because > it didn't have the old file as a starting point - so was starting from > scratch. Thanks, that was exactly what I needed. In the end, the configurer didn't ask any questions. It looks like there were no new options introduced by 4.18.8-r1. > Jack -- Alan Mackenzie (Nuremberg, Germany).