Subversion Repositories livecd

Rev

Rev 7 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7 Rev 9
Line 1... Line 1...
1
###############################################################
1
###############################################################
2
#
2
#
3
# Configuration file for the LiveCD build scripts
3
# Config file for the LiveCD build scripts
4
# 
4
# 
5
# This file will be sourced
5
# This file will be sourced
6
#
6
#
7
# Urs Beyerle, PSI
7
# Urs Beyerle, PSI
8
#
8
#
Line 12... Line 12...
12
# Change it to "2.6.9-42.0.3.EL" for example, if you are 
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 
13
# building the LiveCD with a different kernel than the one 
14
# you are actually running
14
# you are actually running
15
# 
15
# 
16
# if the SMP version of the $KERNEL is installed, 
16
# if the SMP version of the $KERNEL is installed, 
17
# it will also be included in the LiveCD
17
# it will alos be included in the LiveCD
18
#KERNEL="`uname -r`"
18
#KERNEL="`uname -r`"
19
#KERNEL=2.6.9-42.0.3.EL
19
KERNEL=2.6.9-42.0.3.EL
20
KERNEL=2.6.18-1.2747.el5
-
 
21
 
-
 
22
# Define the OS release
-
 
23
# possible values are: 
-
 
24
# 4 -> for SL4, RHEL4, CentOS4
-
 
25
# 5 -> for SL5, RHEL5, CentOS5
-
 
26
#OS_RELEASE=4
-
 
27
OS_RELEASE=5
-
 
28
 
-
 
29
# name of initrd image (do not change this)
-
 
30
INITRDIMG=initrd
-
 
31
 
-
 
32
# define blocksize of initrd
-
 
33
INITRD_BLOCKSIZE=1024
-
 
34
[ "$OS_RELEASE" = "5" ] && INITRD_BLOCKSIZE=4096
-
 
35
 
-
 
36
# compressed directories (img) will be stored here
-
 
37
# (the whole folder will be erased in advanced!)
-
 
38
CDDATA=/tmp/live_data_$$
-
 
39
 
20
 
40
# Define default runlevel for your LiveCD
21
# Define default runlevel for your LiveCD
41
RUNLEVEL=5
22
RUNLEVEL=5
42
 
23
 
43
# The size of the RAM disk (in KBytes)
24
# The size of the RAM disk (in KBytes)
44
# normally you do not have to change this
25
# normally you do not have to change this
45
RAM0SIZE=10000
26
RAM0SIZE=10000
46
 
-
 
47
# to be save, we use RAM0SIZE * 5 for ramdisk_size boot option
27
# to be save, we use RAM0SIZE+10 for ramdisk_size boot option
48
RAMDISK_SIZE=$(( $RAM0SIZE * 5 ))
28
RAMDISK_SIZE=$(( $RAM0SIZE + 10 ))
49
 
29
 
50
# Define default boot options
30
# Define default boot options
51
# normally you do not have to change this
31
# normally you do not have to change this
52
# BOOT_OPTIONS="max_loop=32 vga=791 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw"
32
BOOT_OPTIONS="max_loop=32 vga=791 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw"
53
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw"
-
 
54
 
33
 
55
# Define extra boot parameters, for example: pw=mypassword kb=us
34
# Define extra boot parameters, for example: pw=mypassword kb=us
56
# for more, see http://linux.web.psi.ch/livecd/parameter.html
35
# for more, see http://linux.web.psi.ch/livecd/parameter.html
57
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
36
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
58
#EXTRA_BOOT_OPTION="rhgb"
-
 
59
 
37
 
60
# Define failsafe boot option
38
# Define failsafe boot option
61
# used if you boot with label "failsafe"
39
# used if you boot with lable "failsafe"
62
FAILSAFE_BOOT_OPTIONS="nonet simplex apm=off acpi=off nofstab"
40
FAILSAFE_BOOT_OPTIONS="nonet simplex apm=off acpi=off nofstab"
63
 
41
 
64
# Define default desktop windows manager and default login manager
42
# Define default desktop windows manager and default login manager
65
# (will be put in /etc/sysconfig/desktop)
43
# (will be put in /etc/sysconfig/desktop)
66
#DESKTOP=KDE
44
#DESKTOP=KDE
Line 68... Line 46...
68
 
46
 
69
# Services which are off (not running) on the LiveCD
47
# Services which are off (not running) on the LiveCD
70
SERVICES_OFF="microcode_ctl cups yum xinetd afs rhnsd nfslock ip6tables \
48
SERVICES_OFF="microcode_ctl cups yum xinetd afs rhnsd nfslock ip6tables \
71
              mdmonitor mdmpd hpoj sendmail sshd portmap snmptrapd \
49
              mdmonitor mdmpd hpoj sendmail sshd portmap snmptrapd \
72
              snmpd smartd cups-config-daemon sysstat lm_sensors exim \
50
              snmpd smartd cups-config-daemon sysstat lm_sensors exim \
73
              ntpd httpd irqbalance firstboot clamd yum-updatesd kdump \
51
              ntpd httpd irqbalance firstboot clamd"
74
              auditd"
-
 
75
 
52
 
76
# Services which are on (running) on the LiveCD
53
# Services which are on (running) on the LiveCD
77
SERVICES_ON="apmd acpid pcmcia haldaemon autofs"
54
SERVICES_ON="apmd acpid pcmcia haldaemon autofs"
78
 
55
 
79
# Most probably the LiveCD will not boot with SELinux enabled !  
56
# Most probably the LiveCD will not boot with SELinux enabled !  
80
# SELinux can also be disabled with boot parameter "enforcing=0"
57
# SELinux can also be disabled with boot parameter "enforcing=0"
81
SELINUX=disabled
58
SELINUX=disabled
82
#BOOT_OPTIONS="$BOOT_OPTIONS enforcing=0"
59
#BOOT_OPTIONS="$BOOT_OPTIONS enforcing=0"
83
 
60
 
84
# Set the root password after building the LiveCD
-
 
85
# (done in restore-system.sh)
-
 
86
#SET_ROOTPWD=yes
-
 
87
 
-
 
88
# Define LiveCD OS string (can be anything you like)
61
# Define LiveCD OS string
89
LIVECD_OS="SL${OS_RELEASE}"
62
LIVECD_OS="SL4"
90
 
-
 
91
# LiveCD Label (can be anything you like)
-
 
92
CDLABEL="${LIVECD_OS}LIVECD"
-
 
93
 
-