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 6927B138AE9 for ; Thu, 28 Dec 2017 20:16:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C37FE0D35; Thu, 28 Dec 2017 20:16:20 +0000 (UTC) Received: from mail-pg0-x22b.google.com (mail-pg0-x22b.google.com [IPv6:2607:f8b0:400e:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D1C0E0C9A for ; Thu, 28 Dec 2017 20:16:19 +0000 (UTC) Received: by mail-pg0-x22b.google.com with SMTP id f18so3580386pga.10 for ; Thu, 28 Dec 2017 12:16:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=U80v+SQdVcLqVE7uLTNTb2g8Z7HGX7EpjNI/zReyy0M=; b=FTnTfEMcRtcmYGQj4EoO7NJpCGylb5k/1lv7AiXC/drAlF2k/zab7TOgWSuEQPOxL8 An/E/t5zeSSsiB3N2uYQJzOxiyMTS6KSv69m5a97mX6akvy2U+O5qt9TVGya47+5Jt33 YXh0x6bbTgyCAtmJQTpQCTyHqgicKv/lKBls+e2ZhTLKYj5tESMcYbT8jClPgxaiq9X4 V7VBIQFiu0Mf+Ae/fbk79MCPrqJVfWFf1XFcSZQzmBiuFQlVsUuLN1GTILV+vflBWB+m gEwUXTck/YkZaW/UESCTyfSWHCG9nmnE8jPYVkgcjLICAY8pZqSLsRGjvt7RNlTg0Nry nToQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=U80v+SQdVcLqVE7uLTNTb2g8Z7HGX7EpjNI/zReyy0M=; b=hI2sySAKlJtOub2+wtyB2jV+MMLbgcXnJuU8HsD7QtjU1Cj1qL5vmBc0ENzZ8xnkGH WLlsQ+tQrr4FEsCZ3uj7oK0Dm1BbdlcZbqT78s6Uc0WFwJnyIFPGzG9gEAmYc9wVw7K+ E2TZxxySka/vqE8GuoJtwrG/npN+VfxMBNx2PTZnMYPoW5FTAf5EKKhZM9H0JJnh5vDn g7OjQNJHykpH3uxXKICr6fx+QWq1YpgwuaRQF/xhUUGvOwiQUSNXNcgPB2eXuBToyd0K BK1iTs7c/MdSgDJqzWvbx0egpbE2N5S2FPerYYTcDhtyFkpHIdvF+qhWzSBuKmNNXE8q y+hg== X-Gm-Message-State: AKGB3mLkPIGsm/gtoLN4x4aJTsE4xhEzuEkyQC7wk/OsjOLNZ6JVAPo7 rnFjEjhWzC0hmOVn5lYpxPErX2uWFEOoPhpnNr0sEw== X-Google-Smtp-Source: ACJfBosRUfbdyVG66ryaXbFUHcXJlO2yyDMGT/c3t8h/sFPvNnH+BKHLB9QEz2F3DHigBvaO+cqkLU1jHzZGJENGu24= X-Received: by 10.98.178.17 with SMTP id x17mr32294252pfe.239.1514492178464; Thu, 28 Dec 2017 12:16:18 -0800 (PST) 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 Sender: freemanrich@gmail.com Received: by 10.100.151.169 with HTTP; Thu, 28 Dec 2017 12:16:17 -0800 (PST) In-Reply-To: References: <20171228195236.GA17094@ACM> From: Rich Freeman Date: Thu, 28 Dec 2017 15:16:17 -0500 X-Google-Sender-Auth: SNArv5H6HexO2PE0IDXIkDWZiOg Message-ID: Subject: Re: [gentoo-user] Using an old kernel .config as the basis for a new .config To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 2ff50bac-f9a6-46b9-9b0d-339ee5822df5 X-Archives-Hash: ea846a42c0a341c00974e1c2038bc74e On Thu, Dec 28, 2017 at 3:05 PM, Jack wrote: > > 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 will find an existing config in /boot if you have one named using the upstream naming convention (which happens if you install the kernel using make install on a vanilla kernel - I'm not sure about genkernel or gentoo-sources offhand). If you have /proc/config.gz enabled then you can also do a zcat /proc/config.gz > .config to extract your current config. I always enable /proc/config.gz since it costs a few kb tops and comes in handy anytime you're not sure what config you're running (though if you built some modules after the fact it might not be entirely current). -- Rich