1 |
On Sun, Sep 1, 2013 at 10:30 AM, Tanstaafl <tanstaafl@×××××××××××.org>wrote: |
2 |
|
3 |
> Is there any reason that the creation, use and maintenance of the |
4 |
> initramfs couldn't be as simple as a checkbox in the kernel config, so that |
5 |
> running 'make' after the kernel was configured would automatically build |
6 |
> it? Then, all I'd have to do is move it into /boot along with the new |
7 |
> kernel (just like I do now), with *nothing* else required, and the kernel |
8 |
> would call it, and things would just work (as long as it was there and I |
9 |
> didn't forget to copy it to /boot). |
10 |
|
11 |
|
12 |
This exists. You can built initramfs right into the kernel. I've been doing |
13 |
it here for quite some time. You just tell the kernel either: |
14 |
* where to find a filespec so it knows what to include in the initramfs |
15 |
* what directory contains everything you want in the initramfs |
16 |
|
17 |
and then the kernel builds is and attaches it to itself during 'make' |
18 |
|
19 |
It's actually pretty trivial |
20 |
|
21 |
|
22 |
-- |
23 |
Douglas J Hunley (doug.hunley@×××××.com) |
24 |
Twitter: @hunleyd Web: |
25 |
douglasjhunley.com |
26 |
G+: http://goo.gl/sajR3 |