* [gentoo-catalyst] customize xorg.conf on an Xlivecd
@ 2006-03-15 21:46 Erick Michau
2006-03-15 21:56 ` [gentoo-catalyst] " Erick Michau
2006-03-16 3:16 ` [gentoo-catalyst] " Chris Gianelloni
0 siblings, 2 replies; 8+ messages in thread
From: Erick Michau @ 2006-03-15 21:46 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 1220 bytes --]
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.conffile 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
[-- Attachment #2: Type: text/html, Size: 1730 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-catalyst] Re: customize xorg.conf on an Xlivecd
2006-03-15 21:46 [gentoo-catalyst] customize xorg.conf on an Xlivecd Erick Michau
@ 2006-03-15 21:56 ` Erick Michau
2006-03-16 3:17 ` Chris Gianelloni
2006-03-16 3:16 ` [gentoo-catalyst] " Chris Gianelloni
1 sibling, 1 reply; 8+ messages in thread
From: Erick Michau @ 2006-03-15 21:56 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]
I found my way through!
I should have waited before mailing, sorry for the waste of your time.
Regards all
Erick
On 3/15/06, Erick Michau <balkira@gmail.com> 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.conffile 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
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2291 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-catalyst] customize xorg.conf on an Xlivecd
2006-03-15 21:46 [gentoo-catalyst] customize xorg.conf on an Xlivecd Erick Michau
2006-03-15 21:56 ` [gentoo-catalyst] " Erick Michau
@ 2006-03-16 3:16 ` Chris Gianelloni
1 sibling, 0 replies; 8+ messages in thread
From: Chris Gianelloni @ 2006-03-16 3:16 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]
On Wed, 2006-03-15 at 22:46 +0100, Erick Michau 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.
I'd just edit the script with my fsscript... Sorry...
Also, your init script should probably just go through livecd/rcadd
instead of adding them to local.start...
--
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-catalyst] Re: customize xorg.conf on an Xlivecd
2006-03-15 21:56 ` [gentoo-catalyst] " Erick Michau
@ 2006-03-16 3:17 ` Chris Gianelloni
2006-03-16 8:58 ` Erick Michau
0 siblings, 1 reply; 8+ messages in thread
From: Chris Gianelloni @ 2006-03-16 3:17 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 2011 bytes --]
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 <balkira@gmail.com> 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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-catalyst] Re: customize xorg.conf on an Xlivecd
2006-03-16 3:17 ` Chris Gianelloni
@ 2006-03-16 8:58 ` Erick Michau
2006-03-16 15:09 ` Chris Gianelloni
0 siblings, 1 reply; 8+ messages in thread
From: Erick Michau @ 2006-03-16 8:58 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 3360 bytes --]
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 <wolf31o2@gentoo.org> 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 <balkira@gmail.com> 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-----
>
>
>
[-- Attachment #2: Type: text/html, Size: 5254 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-catalyst] Re: customize xorg.conf on an Xlivecd
2006-03-16 8:58 ` Erick Michau
@ 2006-03-16 15:09 ` Chris Gianelloni
2006-03-16 15:45 ` Erick Michau
0 siblings, 1 reply; 8+ messages in thread
From: Chris Gianelloni @ 2006-03-16 15:09 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 1988 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-catalyst] Re: customize xorg.conf on an Xlivecd
2006-03-16 15:09 ` Chris Gianelloni
@ 2006-03-16 15:45 ` Erick Michau
2006-03-16 16:30 ` Chris Gianelloni
0 siblings, 1 reply; 8+ messages in thread
From: Erick Michau @ 2006-03-16 15:45 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 2487 bytes --]
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@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-----
>
>
>
[-- Attachment #2: Type: text/html, Size: 2991 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-catalyst] Re: customize xorg.conf on an Xlivecd
2006-03-16 15:45 ` Erick Michau
@ 2006-03-16 16:30 ` Chris Gianelloni
0 siblings, 0 replies; 8+ messages in thread
From: Chris Gianelloni @ 2006-03-16 16:30 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 3609 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-03-16 16:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15 21:46 [gentoo-catalyst] customize xorg.conf on an Xlivecd Erick Michau
2006-03-15 21:56 ` [gentoo-catalyst] " Erick Michau
2006-03-16 3:17 ` Chris Gianelloni
2006-03-16 8:58 ` Erick Michau
2006-03-16 15:09 ` Chris Gianelloni
2006-03-16 15:45 ` Erick Michau
2006-03-16 16:30 ` Chris Gianelloni
2006-03-16 3:16 ` [gentoo-catalyst] " Chris Gianelloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox