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
16
-libaio
17
-libhugetlbfs
18
-microcode_ctl
19
-psacct
20
-quota
21
# from @fonts
270 beyerleu 22
dejavu-fonts-common
23
dejavu-sans-fonts
24
dejavu-sans-mono-fonts
25
dejavu-serif-fonts
26
fontpackages-filesystem
27
xorg-x11-fonts-misc
269 beyerleu 28
 
29
# login manager
30
gdm
31
 
32
# icewm desktop
33
@ice-desktop
34
 
35
## mini SL LiveCD specific changes
36
 
37
# packages to remove
38
-scenery-backgrounds
39
-xinetd
287 beyerleu 40
-smartmontools
41
-ql2100-firmware
42
-ql2200-firmware
43
-ql23xx-firmware
44
-ql2400-firmware
45
-ql2500-firmware
289 beyerleu 46
-qt3                        #  3.5 M
47
-samba-common               # 46 M
48
-samba-client               # 41 M
49
-samba-winbind-clients      #  3.4 M
50
-openafs                    # 15 M
51
-selinux-policy             # 10 M
52
-nmap                       #  7.2 M
53
-mysql-libs                 #  3.9 M
54
-words                      #  4.7 M
55
-openswan                   #  2.3 M
56
-nautilus                   # 18 M
57
-smp_utils                  # 10 M   (dependency)
58
-system-config-network-tui  #  4.8 M 
59
-system-config-kdump        #  1.1 M
269 beyerleu 60
 
61
# packages to add
62
ibus-gtk
63
thunderbird
64
firefox
289 beyerleu 65
NetworkManager-gnome
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