Hey here is something I put in my post_install_scripts file/08update.sh :<br><br>#!/bin/bash<br># <br># author: adam stokes <<a href="mailto:astokes@redhat.com">astokes@redhat.com</a>><br># description: custom post install to configure a fully functional
<br># system for use within RH.<br>######################################<br><br><br> . /etc/kadischi/kadischi.conf<br><br>ARG="$1"<br>CHROOTDIR=$BUILDDIR/livecd-build_no$BUILDNUM/system<br><br>#################################
<br># Configure a default xorg.conf for use with multiple systems<br># and until a decent post install auto hardware detector can be developed<br>#################################<br>echo -e "[Modifying Xorg settings]\n"
<br>cat > $ARG/etc/X11/xorg.conf <<_EOF_<br># Xorg configuration created by system-config-display<br><br>Section "ServerLayout"<br> Identifier "single head configuration"<br> Screen 0 "Screen0" 0 0
<br> InputDevice "Mouse0" "CorePointer"<br> InputDevice "Keyboard0" "CoreKeyboard"<br>EndSection<br><br>Section "Files"<br><br># Multiple FontPath entries are allowed (they are concatenated together)
<br># By default, a font server independent of the X server is<br># used to render fonts.<br> FontPath "unix/:7100"<br>EndSection<br><br>Section "Module"<br> Load "dbe"<br>
Load "extmod"<br> Load "fbdevhw"<br> Load "glx"<br> Load "record"<br> Load "freetype"<br> Load "type1"<br> Load "dri"
<br>EndSection<br><br>Section "InputDevice"<br><br># Specify which keyboard LEDs can be user-controlled (eg, with xset(1))<br># Option "Xleds" "1 2 3"<br># To disable the XKEYBOARD extension, uncomment XkbDisable.
<br># Option "XkbDisable"<br># To customise the XKB settings to suit your keyboard, modify the<br># lines below (which are the defaults). For example, for a non-U.S.<br># keyboard, you will probably want to use:
<br># Option "XkbModel" "pc102"<br># If you have a US Microsoft Natural keyboard, you can use:<br># Option "XkbModel" "microsoft"<br>#<br># Then to change the language, change the Layout setting.
<br># For example, a german layout can be obtained with:<br># Option "XkbLayout" "de"<br># or:<br># Option "XkbLayout" "de"<br># Option "XkbVariant" "nodeadkeys"
<br>#<br># If you'd like to switch the positions of your capslock and<br># control keys, use:<br># Option "XkbOptions" "ctrl:swapcaps"<br># Or if you just want both to be control, use:<br># Option "XkbOptions" "ctrl:nocaps"
<br>#<br> Identifier "Keyboard0"<br> Driver "kbd"<br> Option "XkbModel" "pc105"<br> Option "XkbLayout" "us"<br>EndSection
<br><br>Section "InputDevice"<br> Identifier "Mouse0"<br> Driver "mouse"<br> Option "Protocol" "IMPS/2"<br> Option "Device" "/dev/input/mice"
<br> Option "ZAxisMapping" "4 5"<br> Option "Emulate3Buttons" "yes"<br>EndSection<br><br>Section "Monitor"<br> Identifier "Monitor0"
<br> VendorName "Monitor Vendor"<br> ModelName "LCD Panel 1024x768"<br> HorizSync 30.0 - 70.0<br> VertRefresh 56.0 - 75.0<br>EndSection<br><br>Section "Device"
<br> Identifier "Videocard0"<br> Driver "vesa"<br> VendorName "Videocard vendor"<br> BoardName "Generic Video adapter"<br>EndSection<br><br>Section "Screen"
<br> Identifier "Screen0"<br> Device "Videocard0"<br> Monitor "Monitor0"<br> DefaultDepth 24<br> SubSection "Display"<br> Viewport 0 0
<br> Depth 16<br> Modes "1024x768" "800x600" "640x480"<br> EndSubSection<br> SubSection "Display"<br> Viewport 0 0
<br> Depth 24<br> Modes "1024x768" "800x600" "640x480"<br> EndSubSection<br>EndSection<br><br>Section "DRI"<br> Group 0<br>
Mode 0666<br>EndSection<br><br>_EOF_<br><br><div><span class="gmail_quote">On 5/9/06, <b class="gmail_sendername">Sankarshan Mukhopadhyay</b> <<a href="mailto:sankarshan.mukhopadhyay@gmail.com">sankarshan.mukhopadhyay@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Jaswinder Singh wrote:
<br><br>> one more question i want to know is how to stop services during build<br>> process. i did not see this steo anywhere during build. If there is any<br>> file to change please tell me<br><br>ks file %post section : chkconfig --levels 35 foo off|on
<br><br>- -SM<br><br><br>- --<br><br>You see things; and you say 'Why?';<br>But I dream things that never were;<br>and I say 'Why not?' - George Bernard Shaw<br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.2.6 (GNU/Linux)
<br>Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a><br><br>iD8DBQFEYIwRXQZpNTcrCzMRAoqlAJ9Y8pc1p9JNycNmJAlyilblP1wRxgCff3lz<br>buNr8jgTskjBmyXh6AXPYpM=<br>=oW/N<br>-----END PGP SIGNATURE-----
<br><br>--<br>Fedora-livecd-list mailing list<br><a href="mailto:Fedora-livecd-list@redhat.com">Fedora-livecd-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-livecd-list">https://www.redhat.com/mailman/listinfo/fedora-livecd-list
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Adam Stokes <<a href="http://astokes.org">astokes.org</a>;people.redhat.com/astokes>