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