From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 673131381F3 for ; Wed, 4 Sep 2013 01:20:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF31EE1557; Wed, 4 Sep 2013 01:20:43 +0000 (UTC) Received: from mail-ye0-f180.google.com (mail-ye0-f180.google.com [209.85.213.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9472EE1525 for ; Wed, 4 Sep 2013 01:20:42 +0000 (UTC) Received: by mail-ye0-f180.google.com with SMTP id m15so1402227yen.25 for ; Tue, 03 Sep 2013 18:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=Hob7X3IbqsIjFW4B0mUSICI07DWoqxjCQ9pPWQCSiLA=; b=oJcBhxLLuivhH2oPkmbwzSy6vxlpWTqscWO6awDAWyd9ZLqc0vyOXN2Hc+6vtwgf/I L0XmINDoVGUU6ovnqIyp+tGLx+XC71ziB4z1SlEIjDT8VkZGxDZlq3Ji61X4xG6b8Gb/ SyJ0lIlw14KRchyFyFLOuBHR2De9ZMfK+bSD3Pz5/R3H91B406Zra6KKOZTwaPo5LQVG PZcsWu72e/Vs3G/S23B8+O9osfcaOOUVe4UrfobLMP10GOPsgksZ3z/poNnySzZTKq6f HEK1hDmI5dx9eZaUmuUhu8QXyk5y1IesYTQaKjVIXa66apYXF/AH6t3jx8fapdcgdt/D mxKg== X-Received: by 10.236.37.105 with SMTP id x69mr174787yha.15.1378257641534; Tue, 03 Sep 2013 18:20:41 -0700 (PDT) Received: from [192.168.2.5] (adsl-98-95-149-115.jan.bellsouth.net. [98.95.149.115]) by mx.google.com with ESMTPSA id h66sm26491675yhb.7.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Sep 2013 18:20:40 -0700 (PDT) Message-ID: <52268AE7.8070707@gmail.com> Date: Tue, 03 Sep 2013 20:20:39 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Optional /usr merge in Gentoo References: <20130831120831.GA25399@pacific.net.au> <5221df6c.WS8p51iIG1y/cHXy%Joerg.Schilling@fokus.fraunhofer.de> <20130901001352.GB19271@waltdnes.org> <20130901035501.GA19963@waltdnes.org> <52234FA0.8060403@libertytrek.org> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: multipart/alternative; boundary="------------060505000401090607030102" X-Archives-Salt: 783fee58-98d0-4352-9e85-d2871384b58c X-Archives-Hash: ef4d7ad8376c62fa2d92c740a9abc84d This is a multi-part message in MIME format. --------------060505000401090607030102 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Douglas J Hunley wrote: > > On Sun, Sep 1, 2013 at 10:30 AM, Tanstaafl > wrote: > > Is there any reason that the creation, use and maintenance of the > initramfs couldn't be as simple as a checkbox in the kernel > config, so that running 'make' after the kernel was configured > would automatically build it? Then, all I'd have to do is move it > into /boot along with the new kernel (just like I do now), with > *nothing* else required, and the kernel would call it, and things > would just work (as long as it was there and I didn't forget to > copy it to /boot). > > > This exists. You can built initramfs right into the kernel. I've been > doing it here for quite some time. You just tell the kernel either: > * where to find a filespec so it knows what to include in the initramfs > * what directory contains everything you want in the initramfs > > and then the kernel builds is and attaches it to itself during 'make' > > It's actually pretty trivial > > > -- > Douglas J Hunley (doug.hunley@gmail.com ) > Twitter: @hunleyd Web: > douglasjhunley.com > G+: http://goo.gl/sajR3 I tried that a while back. Followed a howto step by step, Gentoo one I think, and it never worked, not even once. Trivial, not hardly. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! --------------060505000401090607030102 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Douglas J Hunley wrote:

On Sun, Sep 1, 2013 at 10:30 AM, Tanstaafl <tanstaafl@libertytrek.org> wrote:
Is there any reason that the creation, use and maintenance of the initramfs couldn't be as simple as a checkbox in the kernel config, so that running 'make' after the kernel was configured would automatically build it? Then, all I'd have to do is move it into /boot along with the new kernel (just like I do now), with *nothing* else required, and the kernel would call it, and things would just work (as long as it was there and I didn't forget to copy it to /boot).

This exists. You can built initramfs right into the kernel. I've been doing it here for quite some time. You just tell the kernel either:
* where to find a filespec so it knows what to include in the initramfs
* what directory contains everything you want in the initramfs

and then the kernel builds is and attaches it to itself during 'make'

It's actually pretty trivial


--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd                                               Web: douglasjhunley.com
G+: http://goo.gl/sajR3

I tried that a while back.  Followed a howto step by step, Gentoo one I think, and it never worked, not even once.  Trivial, not hardly. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
--------------060505000401090607030102--