|
|
Re: Re: customize xorg.conf on an Xlivecd: msg#00041
|
Subject: |
Re: Re: customize xorg.conf on an Xlivecd |
Thanks for the reply, it really helps. I'll try to modify my conf to reflect your advise.
Best Regards,
Erick
On 3/16/06, Chris Gianelloni
<wolf31o2-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx> 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-----
|
| |