From Fedora Project Wiki
m (Add Test_Day:Current as default browser homepage) |
|||
Line 23: | Line 23: | ||
#: -olpc-logos | #: -olpc-logos | ||
#: %end | #: %end | ||
#: EOF</pre> | #: | ||
#: %post | |||
#: # Set Test_Day:Current as default browser homepage | |||
#: cat << EOF > /usr/lib*/firefox*/browserconfig.properties | |||
#: browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current | |||
#: EOF | |||
#: %end </pre> | |||
# Create the live image: | # Create the live image: | ||
#: <pre>livecd-creator -c fedora-livecd-testday.ks</pre> | #: <pre>livecd-creator -c fedora-livecd-testday.ks</pre> |
Revision as of 17:09, 30 April 2009
Creating a Test Day Live Image
The following steps outline how to create a Fedora live image for use during test days.
- Install required packages:
yum install spin-kickstarts livecd-tools
- Create a kickstart template, for example:
- cat <<EOF> fedora-livecd-testday.ks
- %include /usr/share/spin-kickstarts/fedora-livecd-desktop.ks
- repo --name jlaska --baseurl http://jlaska.fedorapeople.org/repos/testday
- repo --name awilliam --baseurl http://adamwill.fedorapeople.org/nouveau
- %packages
- gdb
- strace
- ltrace
- rendercheck
- libdrm
- -olpc-logos
- %end
- %post
- # Set Test_Day:Current as default browser homepage
- cat << EOF > /usr/lib*/firefox*/browserconfig.properties
- browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current
- EOF
- %end
- Create the live image:
livecd-creator -c fedora-livecd-testday.ks
Using the Live Image
- To write the live image to a USB stick.
- To write the live image to a CD or DVD media.
- To load the live image in KVM or qemu.
Ideas For Improvement
- Create a .desktop file with a Test Day URL on the Desktop
- Make browser default homepage http://fedoraproject.org/wiki/Test_Day:Current (suggested by User:sgallagh)
- Setup a test day .repo for the running live image (suggested by User:sgallagh)