Subversion Repositories livecd

Rev

Rev 357 | Details | Compare with Previous | Last modification | View Log | RSS feed

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