Subversion Repositories livecd

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
432 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 sl610-live-base.ks
16
%include sl610-config-icewm.ks
17
%include sl610-extra-software.ks
18
%include sl610-doc.ks
19
 
20
# %include sl610-live-NONPAE.ks   # uncomment to build with nonpae kernel from elrepo
21
 
22
########################################################################
23
# Packages
24
########################################################################
25
 
26
%packages
27
# packages removed from @base
28
-bind-utils
29
-ed
30
-kexec-tools
31
-system-config-kdump
32
-libaio
33
-libhugetlbfs
34
-microcode_ctl
35
-psacct
36
-quota
37
-autofs
38
-smartmontools 
39
 
40
# from @fonts
41
dejavu-fonts-common
42
dejavu-sans-fonts
43
dejavu-sans-mono-fonts
44
dejavu-serif-fonts
45
fontpackages-filesystem
46
xorg-x11-fonts-misc
47
 
48
# login manager
49
gdm
50
 
51
# icewm desktop
52
@ice-desktop
53
 
54
## mini SL LiveCD specific changes
55
 
56
# packages to remove
57
-scenery-backgrounds
58
-xinetd
59
-smartmontools
60
-ql2100-firmware
61
-ql2200-firmware
62
-ql23xx-firmware
63
-ql2400-firmware
64
-ql2500-firmware
65
-qt3                  
66
-samba-common
67
-samba-client               
68
-samba-winbind-clients     
69
-selinux-policy           
70
-nmap                      
71
-mysql-libs                
72
-words                     
73
-openswan                  
74
-nautilus                  
75
-smp_utils                 
76
-system-config-network-tui 
77
 
78
# packages to add
79
ibus-gtk
80
thunderbird
81
firefox
82
NetworkManager-gnome
83
#@openafs-client
84
 
85
# install extra software from rpmforge
86
rxvt-unicode
87
 
88
%end
89
 
90
 
91
########################################################################
92
# Post installation
93
########################################################################
94
 
95
%post
96
 
97
### save diskspace for MiniLiveCD
98
### this changes will survive MiniLiveCD install to harddisk !
99
 
100
# remove yumdb - will give a warning that "RPMDB altered outside of yum"
101
rm -rf /var/lib/yum/yumdb/*
102
 
103
# remove folders/files that use a lot of diskspace 
104
# and are not really needed for miniLiveCD
105
find /usr/share/doc/* -maxdepth 0 -type d  | grep -v HTML | while read d; do rm -rf $d; done
106
rm -rf /usr/share/info
107
rm -rf /usr/share/vim/vim7*/doc
108
rm -rf /usr/share/vim/vim7*/lang
109
find /usr/share/backgrounds -type f  | grep -v default | while read f; do rm -f $f; done
110
 
111
# remove all locale except en
112
find /usr/share/locale/* -maxdepth 0 -type d         | grep -v /en | while read d; do rm -rf $d; done
113
find /usr/share/i18n/locales/*  -maxdepth 0 -type f  | grep -v /en | while read d; do rm -rf $d; done
114
 
115
%end