Sorry for the lack of output. I felt a bit ashamed when I found my solution thinking it would have been obvious for anyone.

For the purpose of customizing the xlivecd, I have made a script "inter_stage.sh" that I launch between stage1 and stage2 so that the cli looks like:
# catalyst2 -f livecd-stage1_template.spec && ./inter_stage.sh && catalyst2 -f livecd-stage2_template.spec
This helps me filling the stage1 with all customized config files like the ~/.fluxbox directory for example.

In that script I copy my tweaked /usr/sbin/mkxf86config.sh file to the stage1.
To prevent that "speedo" module to be launched when X starts, I just added at its end a
"grep -v speedo /var/tmp/catalyst2/tmp/default/livecd- stage1-x86-2006.0/etc/X11/xorg.conf > /var/tmp/catalyst2/tmp/default/livecd-stage1-x86-2006.0/etc/X11/xorg.conf" to rebuild the xorg.conf file _without_ removing any lines but the ones containing the "speedo" occurence.

I was looking for the contrary of grep and didn't know at that time that grep -v was my solution.

Erick


On 3/16/06, Chris Gianelloni <[EMAIL PROTECTED]> wrote:
On Wed, 2006-03-15 at 22:56 +0100, Erick Michau wrote:
> I found my way through!
>
> I should have waited before mailing, sorry for the waste of your time.

What di dyou do?  I'm sure others could benefit from the knowledge.

> On 3/15/06, Erick Michau < [EMAIL PROTECTED]> wrote:
>         hi all,
>
>         I am using catalyst-2.0-rc40 on an x86 with a 2006.0 stage3 as
>         a seed stage.
>         I am doing a livecd booting directly on xorg-x11 so I have
>         successfully achieved:
>         # catalyst2 -f livecd-stage1_template.spec
>         # catalyst2 -f livecd-stage2_template.spec
>         Here is the content of fsscript.sh:
>         echo "/etc/init.d/mkxf86config start"
>         >> /etc/conf.d/local.start
>         echo "/etc/init.d/x-setup start"
>         >> /etc/conf.d/local.start
>         echo "startx"
>         >> /etc/conf.d/local.start
>         However, xorg breaks at startup and I found that the "speedo"
>         module was the cause so I deleted it from xorg.conf and
>         "startx" works.
>
>         I was wondering if it is possible to pass some parameters to
>         the xorg.conf file for when
>         "/etc/init.d/mkxf86config start" is called in a different way
>         than customizing the "/usr/sbin/mkxf86config.sh" file by
>         hand?
>
>         In my case I do not want that "speedo" module to be loaded (X
>         breaks). Right now I am trying to adapt the
>         "/usr/sbin/mkxf86config.sh" script to rebuild xorg.conf
>         _without_ the "speedo" module and it is painful..so I am
>         looking for an other way.
>
>         If any ideas pop up I would be glade to hear it,
>
>         Thanks by advance
>
>
>         Erick
>
>
>
>
>
>
--
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBEGNi9kT4lNIS36YERAtHnAKC9yQ+f2WBkVXzfA7IBgZX+RkbJkACgl1rZ
zF/j54aZbCZmhycy7Ja1UiU=
=dr51
-----END PGP SIGNATURE-----



Reply via email to