1 |
On Thu, 2005-09-01 at 23:52 +0000, Luis Flores soberon wrote: |
2 |
> Now.. it comes a new question... |
3 |
> Using your experimental Live CD, how can i do so that the fisrt thing |
4 |
> executed after the cd boots is a script (done by me), which will ask the |
5 |
> user to confirm the installation process???. If the user says "yes" then i |
6 |
> start executing installer-cli (e.g.) |
7 |
|
8 |
Well, this is a catalyst question, really. Luckily for you, I happen to |
9 |
lurk here, too... :P |
10 |
|
11 |
You have a couple choices here. You can build your own CD, which is |
12 |
probably your best bet in the long run. You could also edit the ISO |
13 |
image before you burn it to add a "cdupdate.sh" shell script to the root |
14 |
of the CD's file-system. This script is executed between the initrd and |
15 |
the actual CD's init scripts, so it is *not* suitable for dumping an |
16 |
installation script into, but it *is* suitable for catting an |
17 |
installation script out to a location, and adding an entry |
18 |
to /etc/conf.d/local.start to execute your script. |
19 |
|
20 |
-- |
21 |
Chris Gianelloni |
22 |
Release Engineering - Strategic Lead/QA Manager |
23 |
Games - Developer |
24 |
Gentoo Linux |