Subversion Repositories livecd

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
337 beyerleu 1
########################################################################
2
#
3
#  Mini LiveCD with icewm desktop
4
#
5
#  Urs Beyerle, ETHZ
6
#
7
########################################################################
8
 
9
part / --size 4096 --fstype ext4
10
 
11
########################################################################
12
# Include kickstart files
13
########################################################################
14
 
15
%include sl62-live-base.ks
16
%include sl62-config-icewm.ks
17
%include sl62-extra-software.ks
18
%include sl62-doc.ks
19
 
20
 
21
########################################################################
22
# Packages
23
########################################################################
24
 
25
%packages
26
# packages removed from @base
27
-bind-utils
28
-ed
29
-kexec-tools
30
-system-config-kdump
31
-libaio
32
-libhugetlbfs
33
-microcode_ctl
34
-psacct
35
-quota
36
-autofs
37
-smartmontools 
38
 
39
# from @fonts
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
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
58
-smartmontools
59
-ql2100-firmware
60
-ql2200-firmware
61
-ql23xx-firmware
62
-ql2400-firmware
63
-ql2500-firmware
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 
76
 
77
# packages to add
78
ibus-gtk
79
thunderbird
80
firefox
81
NetworkManager-gnome
82
#@openafs-client
83
 
84
# install extra software from rpmforge
85
rxvt-unicode
86
 
87
%end
88
 
89
 
90
########################################################################
91
# Post installation
92
########################################################################
93
 
94
%post
95
 
96
### save diskspace for MiniLiveCD
97
### this changes will survive MiniLiveCD install to harddisk !
98
 
99
# remove yumdb - will give a warning that "RPMDB altered outside of yum"
100
rm -rf /var/lib/yum/yumdb/*
101
 
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
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
113
 
114
%end