On Fri, 2005-07-08 at 01:57 -0400, Christophe PEREZ wrote:
> Is it possible for someone to explain to me the difference between
> livecd/fsscript, livecd/overlay and livecd/root_overlay ?
fsscript is a script, run after the default scripts, that makes changes
to the filesystem and is run within the chroot.
livecd/overlay is an overlay over the CD, not the filesystem within the
CD. We use this for the docs and snapshot, etc on the Universal CD to
get things on the outside of the loop. This is for things, like, adding
a README to the root of the CD.
livecd/root_overlay overlays the files within the chroot and the CD's
filesystem. If you want to add a working configuration for a user, then
you would have an overlay that looks like this:
/home/$user/.config
This would copy .config to /home $user.
> I want X is automaticaly launched at boot.
This is easy. Use generic-livecd as your livecd/type (you should never
use anything else since you are not building releases anyway) and make
sure you have X in your USE flags for livecd-stage1, when you install
livecd-tools.
If you want opengl support, then you will also need the opengl USE flag.
> I add xdm:default to livecd/rcadd
You should use this if you want opengl support:
livecd/rcadd:
x-setup|default
xdm|default
Use this if you do not:
livecd/rcadd:
mkxf86config|default
xdm|default
> But, I have to create a xorg.conf dynamicaly.
Now, these will create your xorg.conf file for you. Also, if you choose
to use opengl, then you will need to install the nvidia and ati drivers
during your livecd-stage2 packages for your kernels.
> I tought to use xorg -configure to create configuration, but I don't know
> how to add this command (in which script) in my livecd.
Bad idea. Try using the stuff I've already built and tested. =]
> In the same way, I want to add parameters of configuration during the
> creation of the livecd (this is not at cd boot), have I to add them in
> fsscript or root_overlay ?
I don't really understand this exactly. But anything that you want
changed should be in a fsscript *unless* it is just adding files. The
fsscript is just a shell script that is executed by catalyst within the
chroot.
> In short, I want a create a script to modify livecd parameters (at the
> end of the built), and a script to update parameters during the boot.
> I don't know if I'm clear, sorry.
To update parameters during boot, you'll need to do some work, depending
on the parameters you need to adjust. I can't really help more without
more information.
--
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux
|