Subversion Repositories livecd

Rev

Rev 180 | 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
 
181 beyerle@PS 22
# Define the $OS_RELEASE: 
23
#  for SL4, RHEL4, CentOS4 -> OS_RELEASE=4
24
#  for SL5, RHEL5, CentOS5 -> OS_RELEASE=5
25
OS_RELEASE=5
26
 
179 beyerle@PS 27
# Define LiveCD OS string (can be anything you like)
28
LIVECD_OS="SL52"
29
 
30
# Name of the default changes folder
31
#CHANGESFOLDER=changes
180 beyerle@PS 32
CHANGESFOLDER=${LIVECD_OS}changes 
179 beyerle@PS 33
 
34
# Name of initrd image (do not change this)
1 beyerle@PS 35
INITRDIMG=initrd
36
 
179 beyerle@PS 37
# Define blocksize of initrd
1 beyerle@PS 38
INITRD_BLOCKSIZE=1024
39
[ "$OS_RELEASE" = "5" ] && INITRD_BLOCKSIZE=4096
40
 
179 beyerle@PS 41
# Compressed directories (img) will be stored here
1 beyerle@PS 42
# (the whole folder will be erased in advanced!)
43
CDDATA=/tmp/live_data_$$
44
 
45
# Define default runlevel for your LiveCD
46
RUNLEVEL=5
47
 
23 beyerle@PS 48
# Name of local user
49
LOCALUSER=sluser
50
 
51
# Default hostname
52
DEFAULT_HOSTNAME=slinux
53
 
1 beyerle@PS 54
# The size of the RAM disk (in KBytes)
55
# normally you do not have to change this
56
RAM0SIZE=10000
57
 
179 beyerle@PS 58
# To be save, we use RAM0SIZE * 5 for ramdisk_size boot option
1 beyerle@PS 59
RAMDISK_SIZE=$(( $RAM0SIZE * 5 ))
60
 
61
# Define default boot options
62
# normally you do not have to change this
165 beyerle@PS 63
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw rhgb"
1 beyerle@PS 64
 
179 beyerle@PS 65
# Add vga=791 for SL4
23 beyerle@PS 66
[ "$OS_RELEASE" = "4" ] && BOOT_OPTIONS="$BOOT_OPTIONS vga=791"
67
 
1 beyerle@PS 68
# Define extra boot parameters, for example: pw=mypassword kb=us
69
# for more, see http://linux.web.psi.ch/livecd/parameter.html
70
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
165 beyerle@PS 71
EXTRA_BOOT_OPTIONS=""
1 beyerle@PS 72
 
73
# Define failsafe boot option
74
# used if you boot with label "failsafe"
113 beyerle@PS 75
FAILSAFE_BOOT_OPTIONS="nonet simplex apm=off acpi=off noapic nofstab"
1 beyerle@PS 76
 
77
# Define default desktop windows manager and default login manager
78
# (will be put in /etc/sysconfig/desktop)
79
#DESKTOP=KDE
80
#DISPLAYMANAGER=GNOME
81
 
82
# Services which are off (not running) on the LiveCD
83
SERVICES_OFF="microcode_ctl cups yum xinetd afs rhnsd nfslock ip6tables \
84
              mdmonitor mdmpd hpoj sendmail sshd portmap snmptrapd \
85
              snmpd smartd cups-config-daemon sysstat lm_sensors exim \
86
              ntpd httpd irqbalance firstboot clamd yum-updatesd kdump \
113 beyerle@PS 87
              auditd rpcidmapd autofs ricci modclusterd xend xendomains"
1 beyerle@PS 88
 
89
# Services which are on (running) on the LiveCD
113 beyerle@PS 90
[ "$OS_RELEASE" = "4" ] && SERVICES_ON="apmd acpid pcmcia haldaemon autofs"
91
[ "$OS_RELEASE" = "5" ] && SERVICES_ON="apmd acpid pcmcia haldaemon \
92
                                        NetworkManager NetworkManagerDispatcher"
1 beyerle@PS 93
 
94
# Most probably the LiveCD will not boot with SELinux enabled !  
95
# SELinux can also be disabled with boot parameter "enforcing=0"
96
SELINUX=disabled
97
#BOOT_OPTIONS="$BOOT_OPTIONS enforcing=0"
98
 
99
# Set the root password after building the LiveCD
100
# (done in restore-system.sh)
101
#SET_ROOTPWD=yes
102
 
103
# LiveCD Label (can be anything you like)
104
CDLABEL="${LIVECD_OS}LIVECD"