[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-catalyst
Subject:    Re: [gentoo-catalyst] Re: customize xorg.conf on an Xlivecd
From:       Chris Gianelloni <wolf31o2 () gentoo ! org>
Date:       2006-03-16 16:30:44
Message-ID: 1142526645.30562.20.camel () cgianelloni ! nuvox ! net
[Download RAW message or body]

On Thu, 2006-03-16 at 15:45 +0000, Erick Michau wrote:
> Thanks for the reply, it really helps. I'll try to modify my conf to
> reflect your advise.

No problem.

It just makes it easier on everybody if you try to keep as much within
the confines of catalyst as possible.  It makes it easier on us to help
you when you have problems and it also makes it easier on you to
remember what you did to build your CD.  ;]

> 
> On 3/16/06, Chris Gianelloni <wolf31o2@gentoo.org> wrote:
> On Thu, 2006-03-16 at 08:58 +0000, Erick Michau wrote: 
> > 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:
> 
> Ouch.  That's a bit... ugly.
> 
> > # 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.
> 
> ...and why not use livecd/root_overlay in your livecd-stage2
> instead? 
> 
> > In that script I copy my tweaked /usr/sbin/mkxf86config.sh
> file to the
> > stage1.
> 
> Again with the livecd/root_overlay...  ;]
> 
> Also, if you've got some changes that you think would benefit
> others, 
> feel free to file a bug against mkxf86config and I'll make the
> changes.
> 
> > 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. 
> 
> Cool.  I would do this in a shell script and call the script
> from
> livecd/fsscript in livecd-stage2, rather than having a
> "manual" process
> outside of catalyst.
> 
> #!/bin/bash
> grep -v speedo /etc/X11/xorg.conf.in > /etc/xorg.conf.in 
> 
> Remember that the xorg.conf is generated from xorg.conf.in by
> mkxf86config.sh
> 
> Remember that you can make catalyst do pretty much anything
> from within
> the confines of catalyst itself.  You should never really need
> to make 
> any manual edits of the livecd-stage1 temporary directory.
> 
> --
> Chris Gianelloni
> Release Engineering - Strategic Lead
> x86 Architecture Team
> Games - Developer
> Gentoo Linux
> 
> 
> -----BEGIN PGP SIGNATURE----- 
> Version: GnuPG v1.4.2 (GNU/Linux)
> 
> iD8DBQBEGX
> +ekT4lNIS36YERAt2NAJ9OJkmTZGS9ghcgwrJDdvh0RAJvhwCffGFp
> OpNTKQqWqa4K+CP3fvSfIIs=
> =rmQR
> -----END PGP SIGNATURE-----
> 
> 
> 
-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux


["signature.asc" (application/pgp-signature)]
-- 
gentoo-catalyst@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic