From: Christophe PEREZ <christophe.perez@novazur.com>
To: gentoo-catalyst@lists.gentoo.org
Subject: [gentoo-catalyst] Re: Re: livecd-stage1 pkgconfig
Date: Fri, 08 Jul 2005 14:21:49 -0400 [thread overview]
Message-ID: <pan.2005.07.08.18.21.49.428125@novazur.fr> (raw)
In-Reply-To: 1120832397.11567.84.camel@cgianelloni.nuvox.net
Le Fri, 08 Jul 2005 10:19:57 -0400, Chris Gianelloni a écrit :
> fsscript is a script, run after the default scripts, that makes changes
> to the filesystem and is run within the chroot.
Ok.
> 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:
Oh, I had a really great understanding problem. Overlays are not
scripts... shame on me.
> /home/$user/.config
>
> This would copy .config to /home $user.
ok, now, I think I understand.
>> 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)
I think, and hope my livecd-stage2 is generic based...
> and make
> sure you have X in your USE flags for livecd-stage1, when you install
> livecd-tools.
have it.
> If you want opengl support, then you will also need the opengl USE flag.
forgot it.
>> 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
I'll try that.
>> 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.
Of course.
>> 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.
The only one I found myself ;-)
> Try using the stuff I've already built and tested. =]
Sure.
>> 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.
Ok, it's more clear now.
> 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.
I was talking about creating X configuration etc... that is only possible
during boot. But you already answer to that.
Le Fri, 08 Jul 2005 10:22:19 -0400, Chris Gianelloni a écrit :
>> - create a user (with livecd/users I suppose)
>
> livecd/users: cperez
of course.
I tried that, and I have something very strange.
I'm not very good at shell scripting, but when I see that, I don't find it
really normal :
livecd ~ # cat /root/.bashrc
#!/bin/bash
if [ -x /usr/bin/X ]; then
if [ -e /etc/su - chris -c startx ]; then
rm -f /etc/su - chris -c startx
su - chris -c startx
cat /etc/motd
fi
fi
"-x /usr/bin/X", I understand, but what is that :
"-e /etc/su - chris -c startx" ???
My livecd/users is "chris"
Of course, I always have an error at boot :
.bashrc: line 4: [: too many arguments
>> - add a good xfce4 configuration in $HOME of this user (which script?)
>
> livecd/root_overlay: /tmp/overlay with /home/cperez/.xcfe in it.
of course. clear.
>> during boot :
>> - create xorg configuration
>> - start x (I have to find the best way to do that)
>
> See previous email.
I only do that, I read it, I read it, and I read it again... I learn it ;-)
> If you follow the directions there, X will be auto-started. I might
> suggest avoiding the use of the xdm init script, and instead using a
> livecd/xinitrc to start X, as the build will try to execute "startx"
> automatically as the first user specified in livecd/users when using
> livecd/type generic-livecd.
I found this solution too, but if I don't use xdm, what will execute X ?
Thank you for all your help even if you can't understand all what I mean ;-)
--
Christophe PEREZ
--
gentoo-catalyst@gentoo.org mailing list
next prev parent reply other threads:[~2005-07-08 18:22 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-05 23:39 [gentoo-catalyst] livecd-stage1 pkgconfig Christophe PEREZ
2005-07-06 13:47 ` Chris Gianelloni
2005-07-06 18:47 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-08 5:57 ` Christophe PEREZ
2005-07-08 6:20 ` Christophe PEREZ
2005-07-08 14:22 ` Chris Gianelloni
2005-07-08 14:19 ` Chris Gianelloni
2005-07-08 18:21 ` Christophe PEREZ [this message]
2005-07-08 19:18 ` [gentoo-catalyst] " Chris Gianelloni
2005-07-08 20:14 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-12 3:46 ` Christophe PEREZ
2005-07-12 14:12 ` Chris Gianelloni
2005-07-12 16:32 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-12 17:01 ` Chris Gianelloni
2005-07-12 17:26 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-12 17:34 ` Christophe PEREZ
2005-07-12 18:06 ` Chris Gianelloni
2005-07-12 19:17 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-12 18:05 ` [gentoo-catalyst] Re: " Chris Gianelloni
2005-07-12 19:14 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-12 19:43 ` Christophe PEREZ
2005-07-12 19:59 ` Chris Gianelloni
2005-07-12 20:18 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-14 5:03 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-14 13:14 ` Chris Gianelloni
2005-07-14 17:29 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-14 18:06 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-14 18:21 ` Chris Gianelloni
2005-07-14 18:33 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-14 18:42 ` Christophe PEREZ
2005-07-14 18:57 ` Chris Gianelloni
2005-07-14 19:36 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-14 19:53 ` Chris Gianelloni
2005-07-15 0:52 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-15 15:31 ` Chris Gianelloni
2005-07-15 18:37 ` [gentoo-catalyst] " Christophe PEREZ
2006-09-16 19:49 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-09 5:52 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-09 7:00 ` Christophe PEREZ
2005-07-09 13:56 ` Paul Smith
2005-07-09 17:18 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-12 3:42 ` Christophe PEREZ
2006-04-16 3:10 ` [gentoo-catalyst] " Christophe PEREZ
2006-04-17 13:02 ` Chris Gianelloni
2006-04-17 15:47 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-10 4:26 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-11 19:25 ` Christophe PEREZ
2005-07-11 19:44 ` Chris Gianelloni
2005-07-11 21:04 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-12 22:23 ` Christophe PEREZ
2005-07-13 4:04 ` Christophe PEREZ
2005-07-13 14:26 ` Chris Gianelloni
2005-07-13 15:23 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-13 15:38 ` Michiel de Bruijne
2005-07-13 15:38 ` Chris Gianelloni
2005-07-13 16:57 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-13 17:05 ` Chris Gianelloni
2005-07-13 17:34 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-13 18:22 ` Chris Gianelloni
2005-07-13 19:35 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-13 19:47 ` [gentoo-catalyst] " Chris Gianelloni
2005-07-13 19:53 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-13 17:38 ` [gentoo-catalyst] Re: " Christophe PEREZ
2005-07-11 21:04 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-11 21:17 ` Chris Gianelloni
2005-07-11 21:33 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-11 21:19 ` [gentoo-catalyst] " Christophe PEREZ
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=pan.2005.07.08.18.21.49.428125@novazur.fr \
--to=christophe.perez@novazur.com \
--cc=gentoo-catalyst@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox