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