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
294 beyerleu 10
%include sl6-doc.ks
278 beyerleu 11
 
269 beyerleu 12
%packages
278 beyerleu 13
# packages removed from @base
14
-bind-utils
15
-ed
16
-kexec-tools
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
289 beyerleu 47
-qt3                        #  3.5 M
48
-samba-common               # 46 M
49
-samba-client               # 41 M
50
-samba-winbind-clients      #  3.4 M
51
-openafs                    # 15 M
52
-selinux-policy             # 10 M
53
-nmap                       #  7.2 M
54
-mysql-libs                 #  3.9 M
55
-words                      #  4.7 M
56
-openswan                   #  2.3 M
57
-nautilus                   # 18 M
58
-smp_utils                  # 10 M   (dependency)
59
-system-config-network-tui  #  4.8 M 
60
-system-config-kdump        #  1.1 M
269 beyerleu 61
 
62
# packages to add
63
ibus-gtk
64
thunderbird
65
firefox
289 beyerleu 66
NetworkManager-gnome
269 beyerleu 67
 
296 beyerleu 68
# install extra software from rpmforge
69
rxvt-unicode
70
 
269 beyerleu 71
%end
287 beyerleu 72
 
73
 
74
%post
75
 
76
### save diskspace for MiniLiveCD
289 beyerleu 77
### this changes will survive MiniLiveCD install to harddisk !
78
 
287 beyerleu 79
# remove yumdb - will give a warning that "RPMDB altered outside of yum"
80
rm -rf /var/lib/yum/yumdb/*
81
 
289 beyerleu 82
# remove folders/files that use a lot of diskspace 
83
# and are not really needed for miniLiveCD
84
find /usr/share/doc/* -maxdepth 0 -type d  | grep -v HTML | while read d; do rm -rf $d; done
85
rm -rf /usr/share/info
86
rm -rf /usr/share/vim/vim7*/doc
87
rm -rf /usr/share/vim/vim7*/lang
88
find /usr/share/backgrounds -type f  | grep -v default | while read f; do rm -f $f; done
89
 
90
# remove all locale except en
290 beyerleu 91
find /usr/share/locale/* -maxdepth 0 -type d         | grep -v /en | while read d; do rm -rf $d; done
92
find /usr/share/i18n/locales/*  -maxdepth 0 -type f  | grep -v /en | while read d; do rm -rf $d; done
289 beyerleu 93
 
287 beyerleu 94
%end