Subversion Repositories livecd

Rev

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