Subversion Repositories livecd

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
269 beyerleu 1
########################################################################
2
#
278 beyerleu 3
#  Mini LiveCD with icewm desktop
269 beyerleu 4
#
321 beyerleu 5
#  Urs Beyerle, ETHZ
6
#
269 beyerleu 7
########################################################################
8
 
280 beyerleu 9
part / --size 4096 --fstype ext4
10
 
321 beyerleu 11
########################################################################
12
# Include kickstart files
13
########################################################################
14
 
278 beyerleu 15
%include sl6-live-base.ks
321 beyerleu 16
%include sl6-config-icewm.ks
17
%include sl6-extra-software.ks
18
%include sl6-doc.ks
278 beyerleu 19
 
321 beyerleu 20
 
21
########################################################################
22
# Packages
23
########################################################################
24
 
269 beyerleu 25
%packages
278 beyerleu 26
# packages removed from @base
27
-bind-utils
28
-ed
29
-kexec-tools
304 beyerleu 30
-system-config-kdump
278 beyerleu 31
-libaio
32
-libhugetlbfs
33
-microcode_ctl
34
-psacct
35
-quota
315 beyerleu 36
-autofs
37
-smartmontools 
38
 
278 beyerleu 39
# from @fonts
270 beyerleu 40
dejavu-fonts-common
41
dejavu-sans-fonts
42
dejavu-sans-mono-fonts
43
dejavu-serif-fonts
44
fontpackages-filesystem
45
xorg-x11-fonts-misc
269 beyerleu 46
 
47
# login manager
48
gdm
49
 
50
# icewm desktop
51
@ice-desktop
52
 
53
## mini SL LiveCD specific changes
54
 
55
# packages to remove
56
-scenery-backgrounds
57
-xinetd
287 beyerleu 58
-smartmontools
59
-ql2100-firmware
60
-ql2200-firmware
61
-ql23xx-firmware
62
-ql2400-firmware
63
-ql2500-firmware
303 beyerleu 64
-qt3                  
65
-samba-common
66
-samba-client               
67
-samba-winbind-clients     
68
-selinux-policy           
69
-nmap                      
70
-mysql-libs                
71
-words                     
72
-openswan                  
73
-nautilus                  
74
-smp_utils                 
75
-system-config-network-tui 
269 beyerleu 76
 
77
# packages to add
78
ibus-gtk
79
thunderbird
80
firefox
289 beyerleu 81
NetworkManager-gnome
304 beyerleu 82
#@openafs-client
269 beyerleu 83
 
296 beyerleu 84
# install extra software from rpmforge
85
rxvt-unicode
86
 
269 beyerleu 87
%end
287 beyerleu 88
 
89
 
321 beyerleu 90
########################################################################
91
# Post installation
92
########################################################################
93
 
287 beyerleu 94
%post
95
 
96
### save diskspace for MiniLiveCD
289 beyerleu 97
### this changes will survive MiniLiveCD install to harddisk !
98
 
287 beyerleu 99
# remove yumdb - will give a warning that "RPMDB altered outside of yum"
100
rm -rf /var/lib/yum/yumdb/*
101
 
289 beyerleu 102
# remove folders/files that use a lot of diskspace 
103
# and are not really needed for miniLiveCD
104
find /usr/share/doc/* -maxdepth 0 -type d  | grep -v HTML | while read d; do rm -rf $d; done
105
rm -rf /usr/share/info
106
rm -rf /usr/share/vim/vim7*/doc
107
rm -rf /usr/share/vim/vim7*/lang
108
find /usr/share/backgrounds -type f  | grep -v default | while read f; do rm -f $f; done
109
 
110
# remove all locale except en
290 beyerleu 111
find /usr/share/locale/* -maxdepth 0 -type d         | grep -v /en | while read d; do rm -rf $d; done
112
find /usr/share/i18n/locales/*  -maxdepth 0 -type f  | grep -v /en | while read d; do rm -rf $d; done
289 beyerleu 113
 
287 beyerleu 114
%end