Michael Mol posted on Sun, 15 Jul 2012 20:57:28 -0400 as excerpted:

> This is sounding closer and closer to an on-disk liveCD.

It is, isn't it?  But I'd want to keep it reasonably small, as I guess 
I'd be rebuilding the squashfs pretty much whenever I updated any package 
that it contained binaries from.

Actually, I guess if I did squashfs, I could even mount it directly, 
avoiding the initr* entirely, tho in effect it'd be close.  I could have 
the kernel call a shell script as init, then have it exec the real init 
(and thus openrc) after it did some initial setup and mounts, thus 
allowing the real init to inherit the same PID 1 it normally gets.  (Some 
of that idea is triggered by Maxim K's post.  Thanks to both of you.)

Alternatively, I could reconfigure inittab to start my script first, then 
start openrc (consolidating the openrc sysinit, etc, entries).  But that 
actually sounds more complex than simply running an initial script as 
init, and having it exec init.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


Reply via email to