From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-143930-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 2FC001381FB
	for <garchives@archives.gentoo.org>; Thu, 27 Dec 2012 23:26:26 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 48F6C21C035;
	Thu, 27 Dec 2012 23:26:07 +0000 (UTC)
Received: from mail-qc0-f171.google.com (mail-qc0-f171.google.com [209.85.216.171])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 729E421C013
	for <gentoo-user@lists.gentoo.org>; Thu, 27 Dec 2012 23:24:19 +0000 (UTC)
Received: by mail-qc0-f171.google.com with SMTP id d1so5206768qca.16
        for <gentoo-user@lists.gentoo.org>; Thu, 27 Dec 2012 15:24:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=TyX6eg78dJCbz9EWghuMtrgrfuGBaEsDbEnlPib2mnQ=;
        b=M+4FIkRoJJ4eq9tyxWu6NtRT3vHDU2yE6PRfxx4/b9p+av4tYvh5EGRJfOdlybpIGp
         PDcTKwIKpGiAFwk3BHkN/7YwbL7R/HT8tEmLRn1Ygil1xTtWlN9gVHwyW8AuQE1Jy6by
         Nb5IOEHazi5+14z6NXyMROwSfFmXiH+PmVKJiz1jN0TM/vPvwEJKOc3efaZwRovPWzBB
         qqlGqpgYcE4rZ2eYqKkSsudRt3J0DmxaUZVX0zXasFHeVd2Dfi846cpn5iWsoTM8dy84
         Fkexvx++6GWIB2O2LSFSQ+GsTekMLJjCWG5LnsubIFkYNEy16wceieRTfZLZue3/ZG0E
         zYwA==
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.229.77.148 with SMTP id g20mr3611050qck.120.1356650658603;
 Thu, 27 Dec 2012 15:24:18 -0800 (PST)
Received: by 10.229.186.132 with HTTP; Thu, 27 Dec 2012 15:24:18 -0800 (PST)
In-Reply-To: <CAK2H+edX4QLAVJjBWY15XniGenq6-QTfAYDLNFdVFcFgYAqzwg@mail.gmail.com>
References: <CAK2H+ee+R9EgWBkbiv7c+uAtuc+XRkPgh7XQ+feLb08+2YmM+A@mail.gmail.com>
	<20121226170926.6a67f4a9@digimed.co.uk>
	<CAK2H+ed=ewSD1NsRgewj4ibJ8bRLAR87Q-bPrHE_W-+BBH45=w@mail.gmail.com>
	<CAK2H+edyXG6svjgyS9U+TF03+Pnd+o6mRpaXukFGo+NKXNUUKg@mail.gmail.com>
	<CAK2H+edHRO9CbTo1jZ1eCSYw+40zDH9Rk5g0jp8fTMRi6gQ71Q@mail.gmail.com>
	<20121226230351.2891bf5e@digimed.co.uk>
	<CAK2H+ecGkWoHvH3zWpabwVzbMPzQKJMQAoBHM=ZrpgwyKHX-sg@mail.gmail.com>
	<CAK2H+edX4QLAVJjBWY15XniGenq6-QTfAYDLNFdVFcFgYAqzwg@mail.gmail.com>
Date: Thu, 27 Dec 2012 15:24:18 -0800
Message-ID: <CAK2H+edMp+US8N3BX2fedX9qbW=1jbcruyz5QM4-hQqNQokJJA@mail.gmail.com>
Subject: Re: [gentoo-user] Building an initramfs into the kernel
From: Mark Knecht <markknecht@gmail.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 0db1fca4-a15f-4fea-9f19-b2d3f7a9900d
X-Archives-Hash: d60c02df00fe11cb0618bcf3064fd78d

On Thu, Dec 27, 2012 at 9:33 AM, Mark Knecht <markknecht@gmail.com> wrote:
> On Wed, Dec 26, 2012 at 3:50 PM, Mark Knecht <markknecht@gmail.com> wrote:
>> On Wed, Dec 26, 2012 at 3:03 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
>>> On Wed, 26 Dec 2012 14:09:34 -0800, Mark Knecht wrote:
>>>
>>>> At this point I don't know that 1) the image is actually in the
>>>> kernel, or 2) that my "init thingy" ;-) image would work, but at least
>>>> the process of putting it together is verifiable.
>>>
>>> That's why I put in all the debug stuff, so I could watch the progress of
>>> the script as it ran.
>>>
>>
>>
>> OK, I'll look at combining that part my my scripts, or just using yours, etc.
>>
>> Thanks for the help,
>> Mark
>
> Neil,
>    One more question if I might. What's the simplest way to regenerate
> the kernel when there are no kernel changes but you have changes to
> the programs that are going into the initramfs? make clean seems like
> overkill to me, and it's very slow to boot.
>
<SNIP>

Answering self: The Gentoo wiki covered this at the end:

http://en.gentoo-wiki.com/wiki/Initramfs

I tried it and it seemed to work, although I've not yet successfully
booted this kernel so there may well be some issues left to deal with.

Cheers