Subversion Repositories livecd

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 beyerle@PS 1
###############################################################
2
#
3
# Configuration file for the LiveCD build scripts
4
# 
5
# This file will be sourced
6
#
169 beyerle@PS 7
# Urs Beyerle
1 beyerle@PS 8
#
9
###############################################################
10
 
11
# KERNEL = Kernel version of the LiveCD. 
105 beyerle@PS 12
# Change it to "2.6.9-42.0.3.EL" for example, if you are 
13
# building the LiveCD with a different kernel than the one 
14
# you are actually running
15
# 
16
# if the SMP version of the $KERNEL is installed, 
179 beyerle@PS 17
# it will be also included in the LiveCD
1 beyerle@PS 18
#KERNEL="`uname -r`"
113 beyerle@PS 19
#KERNEL=2.6.9-42.0.3.EL
243 beyerleu 20
KERNEL=2.6.18-164.6.1.el5
1 beyerle@PS 21
 
182 beyerle@PS 22
# Define $OS_RELEASE: 
183 beyerle@PS 23
#  For SL4, RHEL4, CentOS4 -> OS_RELEASE=4
24
#  For SL5, RHEL5, CentOS5 -> OS_RELEASE=5
203 beyerleu 25
OS_RELEASE=5
181 beyerle@PS 26
 
203 beyerleu 27
# Define $OS_UPDATE
183 beyerle@PS 28
#  For example for SL 5.2 set OS_UPDATE=2
243 beyerleu 29
OS_UPDATE=4
183 beyerle@PS 30
 
179 beyerle@PS 31
# Define LiveCD OS string (can be anything you like)
183 beyerle@PS 32
LIVECD_OS="SL${OS_RELEASE}${OS_UPDATE}"
179 beyerle@PS 33
 
34
# Name of the default changes folder
35
#CHANGESFOLDER=changes
180 beyerle@PS 36
CHANGESFOLDER=${LIVECD_OS}changes 
179 beyerle@PS 37
 
38
# Name of initrd image (do not change this)
1 beyerle@PS 39
INITRDIMG=initrd
40
 
179 beyerle@PS 41
# Define blocksize of initrd
1 beyerle@PS 42
INITRD_BLOCKSIZE=1024
43
[ "$OS_RELEASE" = "5" ] && INITRD_BLOCKSIZE=4096
44
 
179 beyerle@PS 45
# Compressed directories (img) will be stored here
1 beyerle@PS 46
# (the whole folder will be erased in advanced!)
47
CDDATA=/tmp/live_data_$$
48
 
49
# Define default runlevel for your LiveCD
50
RUNLEVEL=5
51
 
23 beyerle@PS 52
# Name of local user
53
LOCALUSER=sluser
54
 
55
# Default hostname
56
DEFAULT_HOSTNAME=slinux
57
 
1 beyerle@PS 58
# The size of the RAM disk (in KBytes)
59
# normally you do not have to change this
60
RAM0SIZE=10000
61
 
179 beyerle@PS 62
# To be save, we use RAM0SIZE * 5 for ramdisk_size boot option
1 beyerle@PS 63
RAMDISK_SIZE=$(( $RAM0SIZE * 5 ))
64
 
65
# Define default boot options
66
# normally you do not have to change this
190 beyerle@PS 67
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw"
1 beyerle@PS 68
 
179 beyerle@PS 69
# Add vga=791 for SL4
23 beyerle@PS 70
[ "$OS_RELEASE" = "4" ] && BOOT_OPTIONS="$BOOT_OPTIONS vga=791"
71
 
190 beyerle@PS 72
# Add rhgb for SL5
73
[ "$OS_RELEASE" = "5" ] && BOOT_OPTIONS="$BOOT_OPTIONS rhgb"
74
 
75
 
1 beyerle@PS 76
# Define extra boot parameters, for example: pw=mypassword kb=us
194 beyerleu 77
# for more, see http://www.livecd.ethz.ch/parameter.html
1 beyerle@PS 78
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
165 beyerle@PS 79
EXTRA_BOOT_OPTIONS=""
1 beyerle@PS 80
 
81
# Define failsafe boot option
82
# used if you boot with label "failsafe"
113 beyerle@PS 83
FAILSAFE_BOOT_OPTIONS="nonet simplex apm=off acpi=off noapic nofstab"
1 beyerle@PS 84
 
85
# Define default desktop windows manager and default login manager
86
# (will be put in /etc/sysconfig/desktop)
87
#DESKTOP=KDE
88
#DISPLAYMANAGER=GNOME
89
 
90
# Services which are off (not running) on the LiveCD
217 beyerleu 91
SERVICES_OFF="microcode_ctl yum xinetd afs rhnsd nfslock ip6tables \
1 beyerle@PS 92
              mdmonitor mdmpd hpoj sendmail sshd portmap snmptrapd \
93
              snmpd smartd cups-config-daemon sysstat lm_sensors exim \
94
              ntpd httpd irqbalance firstboot clamd yum-updatesd kdump \
113 beyerle@PS 95
              auditd rpcidmapd autofs ricci modclusterd xend xendomains"
1 beyerle@PS 96
 
97
# Services which are on (running) on the LiveCD
113 beyerle@PS 98
[ "$OS_RELEASE" = "4" ] && SERVICES_ON="apmd acpid pcmcia haldaemon autofs"
99
[ "$OS_RELEASE" = "5" ] && SERVICES_ON="apmd acpid pcmcia haldaemon \
100
                                        NetworkManager NetworkManagerDispatcher"
1 beyerle@PS 101
 
102
# Most probably the LiveCD will not boot with SELinux enabled !  
103
# SELinux can also be disabled with boot parameter "enforcing=0"
104
SELINUX=disabled
105
#BOOT_OPTIONS="$BOOT_OPTIONS enforcing=0"
106
 
107
# Set the root password after building the LiveCD
108
# (done in restore-system.sh)
109
#SET_ROOTPWD=yes
110
 
111
# LiveCD Label (can be anything you like)
112
CDLABEL="${LIVECD_OS}LIVECD"