Subversion Repositories livecd

Rev

Rev 414 | Rev 439 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 414 Rev 431
Line 28... Line 28...
28
 
28
 
29
# for yum-conf-epel
29
# for yum-conf-epel
30
repo --name=repos     --baseurl=http://ftp.scientificlinux.org/linux/scientific/7x/repos/$basearch
30
repo --name=repos     --baseurl=http://ftp.scientificlinux.org/linux/scientific/7x/repos/$basearch
31
 
31
 
32
# epel
32
# epel
33
repo --name=epel      --baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
33
#repo --name=epel      --baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
-
 
34
repo --name=epel      --baseurl=http://ftp-stud.hs-esslingen.de/pub/epel/7/$basearch
34
 
35
 
35
 
36
 
36
%packages
37
%packages
37
@base
38
@base
38
@core
39
@core
Line 273... Line 274...
273
systemctl stop mdmonitor-takeover.service 2> /dev/null || :
274
systemctl stop mdmonitor-takeover.service 2> /dev/null || :
274
 
275
 
275
# don't enable the gnome-settings-daemon packagekit plugin
276
# don't enable the gnome-settings-daemon packagekit plugin
276
echo -e "\ngsettings set org.gnome.settings-daemon.plugins.updates active 'false' &>/dev/null || :" >> /home/liveuser/.bashrc
277
echo -e "\ngsettings set org.gnome.settings-daemon.plugins.updates active 'false' &>/dev/null || :" >> /home/liveuser/.bashrc
277
 
278
 
-
 
279
# arrange icons on desktop
-
 
280
echo -e "\ngvfs-set-attribute -t string '/home/liveuser/Desktop/system-config-keyboard.desktop' 'metadata::nautilus-icon-position' '60,22'  &>/dev/null || :" >> /home/liveuser/.bashrc
-
 
281
echo      "gvfs-set-attribute -t string '/home/liveuser/Desktop/liveinst.desktop'               'metadata::nautilus-icon-position' '60,122' &>/dev/null || :" >> /home/liveuser/.bashrc
-
 
282
 
-
 
283
# no trash icon
-
 
284
echo -e "\ngsettings set org.gnome.nautilus.desktop trash-icon-visible false &>/dev/null || :" >> /home/liveuser/.bashrc
-
 
285
 
278
# don't start cron/at as they tend to spawn things which are
286
# don't start cron/at as they tend to spawn things which are
279
# disk intensive that are painful on a live image
287
# disk intensive that are painful on a live image
280
systemctl --no-reload disable crond.service 2> /dev/null || :
288
systemctl --no-reload disable crond.service 2> /dev/null || :
281
systemctl --no-reload disable atd.service 2> /dev/null || :
289
systemctl --no-reload disable atd.service 2> /dev/null || :
282
systemctl stop crond.service 2> /dev/null || :
290
systemctl stop crond.service 2> /dev/null || :
Line 284... Line 292...
284
 
292
 
285
# disable kdump service
293
# disable kdump service
286
systemctl --no-reload disable kdump.service 2> /dev/null || :
294
systemctl --no-reload disable kdump.service 2> /dev/null || :
287
systemctl stop kdump.service 2> /dev/null || :
295
systemctl stop kdump.service 2> /dev/null || :
288
 
296
 
-
 
297
# disable tuned.service
-
 
298
systemctl --no-reload disable tuned.service 2> /dev/null || :
-
 
299
systemctl stop tuned.service 2> /dev/null || :
-
 
300
 
289
# Mark things as configured
301
# Mark things as configured
290
touch /.liveimg-configured
302
touch /.liveimg-configured
291
 
303
 
292
# add static hostname to work around xauth bug
304
# add static hostname to work around xauth bug
293
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
305
# https://bugzilla.redhat.com/show_bug.cgi?id=67rolling86
294
echo "localhost" > /etc/hostname
306
echo "localhost" > /etc/hostname
295
 
307
 
296
# Fixing the lang install issue when other lang than English is selected . See http://bugs.centos.org/view.php?id=7217
308
# Fixing the lang install issue when other lang than English is selected . See http://bugs.centos.org/view.php?id=7217
297
/usr/bin/cp /usr/lib/python2.7/site-packages/blivet/size.py /usr/lib/python2.7/site-packages/blivet/size.py.orig
309
/usr/bin/cp /usr/lib/python2.7/site-packages/blivet/size.py /usr/lib/python2.7/site-packages/blivet/size.py.orig
298
/usr/bin/sed -i "s#return self.humanReadable()#return self.humanReadable().encode('utf-8')#g" /usr/lib/python2.7/site-packages/blivet/size.py
310
/usr/bin/sed -i "s#return self.humanReadable()#return self.humanReadable().encode('utf-8')#g" /usr/lib/python2.7/site-packages/blivet/size.py