Subversion Repositories livecd

Rev

Rev 1 | Rev 23 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

###############################################################
#
# Configuration file for the LiveCD build scripts
# 
# This file will be sourced
#
# Urs Beyerle, PSI
#
###############################################################

# KERNEL = Kernel version of the LiveCD. 
# Change it to "2.6.9-42.0.3.EL" for example, if you are 
# building the LiveCD with a different kernel than the one 
# you are actually running
# 
# if the SMP version of the $KERNEL is installed, 
# it will also be included in the LiveCD
#KERNEL="`uname -r`"
#KERNEL=2.6.9-42.0.3.EL
KERNEL=2.6.18-1.2747.el5

# Define the OS release
# possible values are: 
# 4 -> for SL4, RHEL4, CentOS4
# 5 -> for SL5, RHEL5, CentOS5
#OS_RELEASE=4
OS_RELEASE=5

# name of initrd image (do not change this)
INITRDIMG=initrd

# define blocksize of initrd
INITRD_BLOCKSIZE=1024
[ "$OS_RELEASE" = "5" ] && INITRD_BLOCKSIZE=4096

# compressed directories (img) will be stored here
# (the whole folder will be erased in advanced!)
CDDATA=/tmp/live_data_$$

# Define default runlevel for your LiveCD
RUNLEVEL=5

# The size of the RAM disk (in KBytes)
# normally you do not have to change this
RAM0SIZE=10000

# to be save, we use RAM0SIZE * 5 for ramdisk_size boot option
RAMDISK_SIZE=$(( $RAM0SIZE * 5 ))

# Define default boot options
# normally you do not have to change this
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw"

# Define extra boot parameters, for example: pw=mypassword kb=us
# for more, see http://linux.web.psi.ch/livecd/parameter.html
[ "$OS_RELEASE" = "4" ] && EXTRA_BOOT_OPTIONS="vga=791"
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
#EXTRA_BOOT_OPTION="rhgb"

# Define failsafe boot option
# used if you boot with label "failsafe"
FAILSAFE_BOOT_OPTIONS="nonet simplex apm=off acpi=off nofstab"

# Define default desktop windows manager and default login manager
# (will be put in /etc/sysconfig/desktop)
#DESKTOP=KDE
#DISPLAYMANAGER=GNOME

# Services which are off (not running) on the LiveCD
SERVICES_OFF="microcode_ctl cups yum xinetd afs rhnsd nfslock ip6tables \
              mdmonitor mdmpd hpoj sendmail sshd portmap snmptrapd \
              snmpd smartd cups-config-daemon sysstat lm_sensors exim \
              ntpd httpd irqbalance firstboot clamd yum-updatesd kdump \
              auditd"

# Services which are on (running) on the LiveCD
SERVICES_ON="apmd acpid pcmcia haldaemon autofs"

# Most probably the LiveCD will not boot with SELinux enabled !  
# SELinux can also be disabled with boot parameter "enforcing=0"
SELINUX=disabled
#BOOT_OPTIONS="$BOOT_OPTIONS enforcing=0"

# Set the root password after building the LiveCD
# (done in restore-system.sh)
#SET_ROOTPWD=yes

# Define LiveCD OS string (can be anything you like)
LIVECD_OS="SL${OS_RELEASE}"

# LiveCD Label (can be anything you like)
CDLABEL="${LIVECD_OS}LIVECD"