From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-145734-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C2781198003 for <garchives@archives.gentoo.org>; Sat, 9 Mar 2013 09:45:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6640AE06F9; Sat, 9 Mar 2013 09:45:29 +0000 (UTC) Received: from mail-ia0-f172.google.com (mail-ia0-f172.google.com [209.85.210.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23433E0676 for <gentoo-user@lists.gentoo.org>; Sat, 9 Mar 2013 09:45:27 +0000 (UTC) Received: by mail-ia0-f172.google.com with SMTP id l29so2258588iag.3 for <gentoo-user@lists.gentoo.org>; Sat, 09 Mar 2013 01:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nileshgr.com; s=google; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=PV3drthamNxqRWOFAZk24okQG9a96YPTaqe8B/IFSrA=; b=naL+CJU+5k1GoghflDRhpwddD1sS/0e7aY04yCPLZV15ngR1UbMREyTuVXZ51aoIFH Fu59quirXkyM6aoNdhgQqxu06tu4tIq9HEaGSSjynZyJ8mbDYGf5+l1vIlvQnBcJqxbm 0BRioC8Nr/WnFfP799ehNbdP0cXUJjNf9GxAI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=PV3drthamNxqRWOFAZk24okQG9a96YPTaqe8B/IFSrA=; b=mCfXqd2lnP41NFvO+AHX12MNy3rC+yYIVtUn0AGBfS+XgQC0/MvobaYc0riAw3bDHq WsRxmXP31pf5mWIH8RFmuGYtPQJK6Weh0Hajan0F1I4Eljo0Tu3wxXMwalMB+/B2//k1 /CZTNp2w9zMtVFv/t4h0pIWLjoYKreyPF0k5X1iQUh1ZUGbXrZm1pva7l7ioxT4EAxF4 8hVB2uMFFyrqwkMrjn+vMmm2XLCh6mbwFrvqoiIrO9A8nrJXqR6WzFg8LdpOdsYxIRNj PIyGr/XDQ7LtAGZl86q8YT1IfIpA364jLB0T/YWa9CchdlV76h8A76lo97jPyQQ5BQae UyMA== X-Received: by 10.50.202.6 with SMTP id ke6mr1851302igc.30.1362822327233; Sat, 09 Mar 2013 01:45:27 -0800 (PST) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.64.34.242 with HTTP; Sat, 9 Mar 2013 01:44:47 -0800 (PST) In-Reply-To: <87r4jpdjnk.fsf@einstein.gmurray.org.uk> References: <5127BE5B.6070609@gmail.com> <CAJ0EP43zJZ508dH+W-4Pe258qzc3ToL222U=3NWynNyYv7M_dA@mail.gmail.com> <87r4jpdjnk.fsf@einstein.gmurray.org.uk> From: Nilesh Govindrajan <me@nileshgr.com> Date: Sat, 9 Mar 2013 15:14:47 +0530 Message-ID: <CAHgBc-v+HOpgFzcH2zvDZh1jSv4Zrq_gboSN3Jm_V+ztm55Neg@mail.gmail.com> Subject: Re: [gentoo-user] "auto-config" of new gentoo-sources? To: Gentoo User Mailing List <gentoo-user@lists.gentoo.org> Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQm5Od5b2XtWKpKdpU8/Ek2AVF49YujeGbvarmQm2MkuCyKUOBtwXvMPwa9xp3yIQuPGDQZn X-Archives-Salt: 70317991-c7a0-480a-82c5-aad8f1168116 X-Archives-Hash: 1aa4b981f500037502fabb303a79f907 On Sat, Mar 9, 2013 at 2:39 PM, Graham Murray <graham@gmurray.org.uk> wrote: > Mike Gilbert <floppym@gentoo.org> writes: > >> On Fri, Feb 22, 2013 at 1:52 PM, Jarry <mr.jarry@gmail.com> wrote: >>> So my question is: how is this possible? Is maybe ".config" >>> file from the old sources-tree copied to new sources-tree? >>> Or is the actual configuration of running kernel somehow >>> detected and ".config" file generated? >>> >> >> The latter. Have a look at DEFCONFIG_LIST init/Kconfig. > > So is it no longer necessary to run 'zcat /proc/config.gz > .config' to > transfer the current configuration as a 'seed' when installing a new > kernel? > That is porting your existing config to new kernel. You can't miss the step, lol. If you have genkernel, the simplest one would be genkernel --kernel-config=/proc/config.gz -- Nilesh Govindrajan http://nileshgr.com