Subversion Repositories livecd

Rev

Rev 169 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 169 Rev 179
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 be also 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-92.1.6.el5
20
KERNEL=2.6.18-92.1.6.el5
21
 
21
 
-
 
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
 
22
# The OS release $OS_RELEASE is defined by following option: 
29
# The OS release $OS_RELEASE is defined by following option: 
23
# -sl4  -> for SL4, RHEL4, CentOS4 -> OS_RELEASE=4
30
# -sl4  -> for SL4, RHEL4, CentOS4 -> OS_RELEASE=4
24
# -sl5  -> for SL5, RHEL5, CentOS5 -> OS_RELEASE=5
31
# -sl5  -> for SL5, RHEL5, CentOS5 -> OS_RELEASE=5
25
 
32
 
26
# name of initrd image (do not change this)
33
# Name of initrd image (do not change this)
27
INITRDIMG=initrd
34
INITRDIMG=initrd
28
 
35
 
29
# define blocksize of initrd
36
# Define blocksize of initrd
30
INITRD_BLOCKSIZE=1024
37
INITRD_BLOCKSIZE=1024
31
[ "$OS_RELEASE" = "5" ] && INITRD_BLOCKSIZE=4096
38
[ "$OS_RELEASE" = "5" ] && INITRD_BLOCKSIZE=4096
32
 
39
 
33
# compressed directories (img) will be stored here
40
# Compressed directories (img) will be stored here
34
# (the whole folder will be erased in advanced!)
41
# (the whole folder will be erased in advanced!)
35
CDDATA=/tmp/live_data_$$
42
CDDATA=/tmp/live_data_$$
36
 
43
 
37
# Define default runlevel for your LiveCD
44
# Define default runlevel for your LiveCD
38
RUNLEVEL=5
45
RUNLEVEL=5
Line 45... Line 52...
45
 
52
 
46
# The size of the RAM disk (in KBytes)
53
# The size of the RAM disk (in KBytes)
47
# normally you do not have to change this
54
# normally you do not have to change this
48
RAM0SIZE=10000
55
RAM0SIZE=10000
49
 
56
 
50
# to be save, we use RAM0SIZE * 5 for ramdisk_size boot option
57
# To be save, we use RAM0SIZE * 5 for ramdisk_size boot option
51
RAMDISK_SIZE=$(( $RAM0SIZE * 5 ))
58
RAMDISK_SIZE=$(( $RAM0SIZE * 5 ))
52
 
59
 
53
# Define default boot options
60
# Define default boot options
54
# normally you do not have to change this
61
# normally you do not have to change this
55
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw rhgb"
62
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw rhgb"
56
 
63
 
57
# add vga=791 for SL4
64
# Add vga=791 for SL4
58
[ "$OS_RELEASE" = "4" ] && BOOT_OPTIONS="$BOOT_OPTIONS vga=791"
65
[ "$OS_RELEASE" = "4" ] && BOOT_OPTIONS="$BOOT_OPTIONS vga=791"
59
 
66
 
60
# Define extra boot parameters, for example: pw=mypassword kb=us
67
# Define extra boot parameters, for example: pw=mypassword kb=us
61
# for more, see http://linux.web.psi.ch/livecd/parameter.html
68
# for more, see http://linux.web.psi.ch/livecd/parameter.html
62
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
69
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
Line 90... Line 97...
90
 
97
 
91
# Set the root password after building the LiveCD
98
# Set the root password after building the LiveCD
92
# (done in restore-system.sh)
99
# (done in restore-system.sh)
93
#SET_ROOTPWD=yes
100
#SET_ROOTPWD=yes
94
 
101
 
95
# Define LiveCD OS string (can be anything you like)
-
 
96
LIVECD_OS="SL${OS_RELEASE}"
-
 
97
 
-
 
98
# LiveCD Label (can be anything you like)
102
# LiveCD Label (can be anything you like)
99
CDLABEL="${LIVECD_OS}LIVECD"
103
CDLABEL="${LIVECD_OS}LIVECD"