QA/Test Days/Live Image

From FedoraProject

< QA | Test Days(Difference between revisions)
Jump to: navigation, search
m (Add Test_Day:Current as default browser homepage)
(Update kickstart)
Line 29: Line 29:
 
#: browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current
 
#: browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current
 
#: EOF
 
#: EOF
 +
#:
 +
#: # Create a .desktop link for Test Day
 +
#: mkdir -p /etc/skel/Desktop
 +
#: cat << EOF > /etc/skel/Desktop/testday.desktop
 +
#: [Desktop Entry]
 +
#: Encoding=UTF-8
 +
#: Name=Participate in a Test Day
 +
#: Type=Link
 +
#: URL=https://fedoraproject.org/wiki/Test_Day:Current
 +
#: Icon=gnome-fs-bookmark
 +
#: EOF
 +
#:
 
#: %end </pre>
 
#: %end </pre>
 
# Create the live image:
 
# Create the live image:
Line 39: Line 51:
  
 
= Ideas For Improvement =
 
= Ideas For Improvement =
# Create a .desktop file with a Test Day URL on the Desktop
+
# <s>Create a .desktop file with a Test Day URL on the Desktop</s>
# Make browser default homepage http://fedoraproject.org/wiki/Test_Day:Current (suggested by [[User:sgallagh]])
+
# <s>Make browser default homepage http://fedoraproject.org/wiki/Test_Day:Current (suggested by [[User:sgallagh]])</s>
 
# Setup a test day .repo for the running live image (suggested by [[User:sgallagh]])
 
# Setup a test day .repo for the running live image (suggested by [[User:sgallagh]])
  
 
[[Category:Test Days]]
 
[[Category:Test Days]]

Revision as of 17:16, 30 April 2009

QA.png


Creating a Test Day Live Image

The following steps outline how to create a Fedora live image for use during test days.

  1. Install required packages:
    yum install spin-kickstarts livecd-tools
  2. 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
    # Create a .desktop link for Test Day
    mkdir -p /etc/skel/Desktop
    cat << EOF > /etc/skel/Desktop/testday.desktop
    [Desktop Entry]
    Encoding=UTF-8
    Name=Participate in a Test Day
    Type=Link
    URL=https://fedoraproject.org/wiki/Test_Day:Current
    Icon=gnome-fs-bookmark
    EOF
     %end
  3. Create the live image:
    livecd-creator -c fedora-livecd-testday.ks

Using the Live Image

Ideas For Improvement

  1. Create a .desktop file with a Test Day URL on the Desktop
  2. Make browser default homepage http://fedoraproject.org/wiki/Test_Day:Current (suggested by User:sgallagh)
  3. Setup a test day .repo for the running live image (suggested by User:sgallagh)