[finnix] Remastering finnix 91.0 -- how does the new initrd work?

Walker, Philip M (Optical Storage) phil.walker at hp.com
Thu Feb 28 10:03:21 PST 2008


Ryan,

The following modification would allow a slight but important additional bit of control:

Split stage1 into two parts:  cleanup (the first 80 lines) and squash (the last 10 lines).

That would allow adding various customization files (e.g., .bashrc) into the cleaned up image
before compression without having to edit your scripts.   The sequence would then be:

stage1           # cleanup
customizations   # optional
stage1.5         # squash
stage2           # create iso file

Thanks for the fabulous stuff!

PW

-----Original Message-----
From: Ryan Finnie [mailto:ryan at finnie.org]
Sent: Sunday, February 24, 2008 12:05 PM
To: General Finnix discussion and announcements
Subject: Re: [finnix] Remastering finnix 91.0 -- how does the new initrd work?

On Sun, Feb 17, 2008 at 8:34 PM, Tom Eastman <tom.eastman at otago.ac.nz> wrote:
>  I noticed, though, that there seems to be a new scheme for handling
> the  initrd.  I'm not really an expert at this stuff, but I'm
> reasonably good  at picking it apart and working out what I need to change, and change it.
>
>  Basically, this is a roundabout way of asking Ryan if I could get
> ahold  of the latest versions of his stage1/stage2 scripts to see how
> the new  initrd format is built.

Sorry for the wait.  New stage1/stage2 scripts are in place, and the Remastering guide has been updated:

http://www.finnix.org/files/scripts/stage1
http://www.finnix.org/files/scripts/stage2
http://www.finnix.org/Remastering

I'll have to do some modifications, but the plan is to take those scripts and package them, so they'll be an "apt-get install" away.
The problem has been that moving those scripts is a manual process that I tend to forget (because changes to the stage scripts don't happen to often).

RF



More information about the finnix mailing list