Subversion Repositories livecd

Rev

Rev 182 | Go to most recent revision | Details | Compare with Previous | 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
180 beyerle@PS 20
KERNEL=2.6.18-92.1.10.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
181 beyerle@PS 25
OS_RELEASE=5
26
 
183 beyerle@PS 27
# Define OS_UPDATE (not used at the moment)
28
#  For example for SL 5.2 set OS_UPDATE=2
29
OS_UPDATE=2
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
165 beyerle@PS 67
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw rhgb"
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
 
1 beyerle@PS 72
# Define extra boot parameters, for example: pw=mypassword kb=us
73
# for more, see http://linux.web.psi.ch/livecd/parameter.html
74
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
165 beyerle@PS 75
EXTRA_BOOT_OPTIONS=""
1 beyerle@PS 76
 
77
# Define failsafe boot option
78
# used if you boot with label "failsafe"
113 beyerle@PS 79
FAILSAFE_BOOT_OPTIONS="nonet simplex apm=off acpi=off noapic nofstab"
1 beyerle@PS 80
 
81
# Define default desktop windows manager and default login manager
82
# (will be put in /etc/sysconfig/desktop)
83
#DESKTOP=KDE
84
#DISPLAYMANAGER=GNOME
85
 
86
# Services which are off (not running) on the LiveCD
87
SERVICES_OFF="microcode_ctl cups yum xinetd afs rhnsd nfslock ip6tables \
88
              mdmonitor mdmpd hpoj sendmail sshd portmap snmptrapd \
89
              snmpd smartd cups-config-daemon sysstat lm_sensors exim \
90
              ntpd httpd irqbalance firstboot clamd yum-updatesd kdump \
113 beyerle@PS 91
              auditd rpcidmapd autofs ricci modclusterd xend xendomains"
1 beyerle@PS 92
 
93
# Services which are on (running) on the LiveCD
113 beyerle@PS 94
[ "$OS_RELEASE" = "4" ] && SERVICES_ON="apmd acpid pcmcia haldaemon autofs"
95
[ "$OS_RELEASE" = "5" ] && SERVICES_ON="apmd acpid pcmcia haldaemon \
96
                                        NetworkManager NetworkManagerDispatcher"
1 beyerle@PS 97
 
98
# Most probably the LiveCD will not boot with SELinux enabled !  
99
# SELinux can also be disabled with boot parameter "enforcing=0"
100
SELINUX=disabled
101
#BOOT_OPTIONS="$BOOT_OPTIONS enforcing=0"
102
 
103
# Set the root password after building the LiveCD
104
# (done in restore-system.sh)
105
#SET_ROOTPWD=yes
106
 
107
# LiveCD Label (can be anything you like)
108
CDLABEL="${LIVECD_OS}LIVECD"