Subversion Repositories livecd

Rev

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

Rev Author Line No. Line
393 beyerleu 1
 
2
lang en_GB.UTF-8
3
keyboard us
4
timezone Europe/Brussels --isUtc
5
auth --useshadow --enablemd5
6
selinux --enforcing
7
firewall --enabled --service=mdns
8
xconfig --startxonboot
413 beyerleu 9
part / --size 10240 --fstype ext4
393 beyerleu 10
services --enabled=NetworkManager --disabled=network,sshd
11
 
12
 
13
# Root password
14
rootpw --iscrypted $6$K2nKf02kVKG68960$OywvoaViphSITuro/liKvCj7Pm/CH/xqzz/lsoXyaKSR1lYf0vHAqSUc483a9MCCBkIwfr/hNMfqwxqVO0OEg1
15
 
398 beyerleu 16
# Workaround for the grubby issue on live media (see https://bugzilla.redhat.com/show_bug.cgi?id=1153410)
393 beyerleu 17
# SL repositories (fastbugs enabled per default) 
398 beyerleu 18
repo --name=base      --baseurl=http://ftp.scientificlinux.org/linux/scientific/7rolling/$basearch/os/               --excludepkgs=grubby
19
repo --name=security  --baseurl=http://ftp.scientificlinux.org/linux/scientific/7rolling/$basearch/updates/security/ --excludepkgs=grubby
20
repo --name=fastbugs  --baseurl=http://ftp.scientificlinux.org/linux/scientific/7rolling/$basearch/updates/fastbugs/ --excludepkgs=grubby
399 beyerleu 21
repo --name=grubby    --baseurl=http://ftp.scientificlinux.org/linux/scientific/7.0/$basearch/os/                    --includepkgs=grubby
393 beyerleu 22
 
23
# or use a mirror close to you
398 beyerleu 24
#repo --name=base      --baseurl=http://mirror.switch.ch/ftp/mirror/scientificlinux/7rolling/$basearch/os/               --excludepkgs=grubby
25
#repo --name=security  --baseurl=http://mirror.switch.ch/ftp/mirror/scientificlinux/7rolling/$basearch/updates/security/ --excludepkgs=grubby
26
#repo --name=fastbugs  --baseurl=http://mirror.switch.ch/ftp/mirror/scientificlinux/7rolling/$basearch/updates/fastbugs/ --excludepkgs=grubby
399 beyerleu 27
#repo --name=grubby    --baseurl=http://ftp.scientificlinux.org/linux/scientific/7.0/$basearch/os/                       --includepkgs=grubby
393 beyerleu 28
 
29
 
30
%packages
31
abattis-cantarell-fonts
32
accountsservice
33
accountsservice-libs
34
acl
35
adwaita-cursor-theme
36
adwaita-gtk2-theme
37
adwaita-gtk3-theme
38
aic94xx-firmware
39
alsa-firmware
40
alsa-lib
41
alsa-tools-firmware
42
anaconda
43
anaconda-widgets
44
at
45
atk
46
atkmm
47
at-spi2-atk
48
at-spi2-core
49
attr
50
audit
51
audit-libs
52
audit-libs-python
53
augeas-libs
54
authconfig
55
avahi
56
avahi-autoipd
57
avahi-glib
58
avahi-gobject
59
avahi-libs
60
avahi-ui-gtk3
61
baobab
62
basesystem
63
bash
64
bash-completion
65
bc
66
bind-libs
67
bind-libs-lite
68
bind-license
69
bind-utils
70
binutils
71
biosdevname
72
blktrace
73
bluez
74
bluez-libs
75
bridge-utils
76
btrfs-progs
77
bzip2
78
bzip2-libs
79
ca-certificates
80
cairo
81
cairo-gobject
82
cairomm
83
cdparanoia-libs
84
celt051
85
checkpolicy
431 beyerleu 86
##cheese
87
##cheese-libs
393 beyerleu 88
chkconfig
89
chrony
90
clutter
91
clutter-gst2
92
clutter-gtk
93
cogl
94
colord
95
colord-gtk
96
colord-libs
97
color-filesystem
98
comps-extras
99
control-center
100
control-center-filesystem
101
coreutils
102
cpio
103
cracklib
104
cracklib-dicts
105
crda
106
createrepo
107
cronie
108
cronie-anacron
109
crontabs
110
cryptsetup
111
cryptsetup-libs
112
cryptsetup-python
113
cups-libs
114
cups-pk-helper
115
curl
116
cyrus-sasl-lib
117
cyrus-sasl-plain
118
dbus
119
dbus-glib
120
dbus-libs
121
dbus-python
122
dbus-x11
123
dconf
124
dejavu-fonts-common
125
dejavu-sans-fonts
126
dejavu-sans-mono-fonts
127
dejavu-serif-fonts
128
deltarpm
129
desktop-file-utils
130
device-mapper
131
device-mapper-event
132
device-mapper-event-libs
133
device-mapper-libs
134
device-mapper-multipath
135
device-mapper-multipath-libs
136
device-mapper-persistent-data
137
dhclient
138
dhcp-common
139
dhcp-libs
140
diffutils
141
dmidecode
142
dmraid
143
dmraid-events
144
dnsmasq
145
dosfstools
146
dracut
147
dracut-config-rescue
148
dracut-network
431 beyerleu 149
##dyninst
393 beyerleu 150
e2fsprogs
151
e2fsprogs-libs
152
ebtables
153
ed
154
elfutils-libelf
155
elfutils-libs
156
emacs-filesystem
157
enchant
431 beyerleu 158
##eog
393 beyerleu 159
ethtool
431 beyerleu 160
##evince
161
##evince-libs
162
##evince-nautilus
393 beyerleu 163
evolution-data-server
164
exempi
165
exiv2-libs
166
expat
167
fcoe-utils
168
file
169
file-libs
170
file-roller
171
file-roller-nautilus
172
filesystem
173
findutils
174
fipscheck
175
fipscheck-lib
176
firefox
177
firewall-config
178
firewalld
179
firstboot
180
flac-libs
181
folks
182
fontconfig
183
fontpackages-filesystem
184
fprintd
185
fprintd-pam
186
freerdp
187
freerdp-libs
188
freerdp-plugins
189
freetype
431 beyerleu 190
##frei0r-plugins
393 beyerleu 191
fros
192
fuse
193
fuse-libs
194
fxload
195
gamin
431 beyerleu 196
##gavl
393 beyerleu 197
gawk
198
GConf2
199
gcr
200
gd
201
gdbm
202
gdisk
203
gdk-pixbuf2
204
gdm
431 beyerleu 205
##gedit
393 beyerleu 206
geoclue
207
gettext
208
gettext-libs
431 beyerleu 209
##ghostscript
210
##ghostscript-fonts
393 beyerleu 211
giflib
212
gjs
213
glade-libs
214
glib2
215
glibc
216
glibc-common
217
glibmm24
218
glib-networking
219
glusterfs-api
220
glusterfs-libs
221
glx-utils
222
gmp
223
gnome-bluetooth
224
gnome-bluetooth-libs
431 beyerleu 225
##gnome-calculator
393 beyerleu 226
gnome-classic-session
227
gnome-clocks
431 beyerleu 228
##gnome-color-manager
393 beyerleu 229
gnome-contacts
230
gnome-desktop3
231
gnome-dictionary
232
gnome-disk-utility
431 beyerleu 233
#gnome-documents    # needs huge libreoffice-core
393 beyerleu 234
gnome-font-viewer
235
gnome-icon-theme
236
gnome-icon-theme-extras
237
gnome-icon-theme-legacy
238
gnome-icon-theme-symbolic
239
gnome-keyring
240
gnome-keyring-pam
241
gnome-menus
242
gnome-online-accounts
243
gnome-packagekit
244
gnome-python2
245
gnome-python2-bonobo
246
gnome-python2-canvas
247
gnome-python2-gnome
248
gnome-python2-gnomevfs
249
gnome-screenshot
250
gnome-session
251
gnome-session-xsession
252
gnome-settings-daemon
253
gnome-shell
254
gnome-shell-extension-alternate-tab
255
gnome-shell-extension-apps-menu
256
gnome-shell-extension-common
257
gnome-shell-extension-launch-new-instance
258
gnome-shell-extension-places-menu
259
gnome-shell-extension-window-list
260
gnome-system-log
261
gnome-system-monitor
262
gnome-terminal
431 beyerleu 263
gnome-terminal-nautilus
393 beyerleu 264
gnome-themes-standard
265
gnome-tweak-tool
415 beyerleu 266
#gnome-user-docs
393 beyerleu 267
gnome-vfs2
431 beyerleu 268
##gnome-video-effects
269
##gnu-free-fonts-common
270
##gnu-free-mono-fonts
271
##gnu-free-sans-fonts
272
##gnu-free-serif-fonts
393 beyerleu 273
gnupg2
274
gnutls
275
gobject-introspection
276
google-crosextra-caladea-fonts
277
google-crosextra-carlito-fonts
278
gpgme
279
gpm-libs
280
graphite2
281
grep
282
grilo
283
grilo-plugins
284
groff-base
285
grub2
286
grub2-tools
287
grubby
288
gsettings-desktop-schemas
289
gsm
290
gssdp
291
gstreamer1
431 beyerleu 292
##gstreamer1-plugins-bad-free
393 beyerleu 293
gstreamer1-plugins-base
431 beyerleu 294
##gstreamer1-plugins-good
393 beyerleu 295
gtk2
296
gtk2-immodule-xim
297
gtk3
298
gtk3-immodule-xim
299
gtkmm30
300
gtksourceview3
301
gtk-vnc2
302
gucharmap
303
gupnp
304
gupnp-av
305
gvfs
306
gvfs-afc
307
gvfs-afp
308
gvfs-archive
309
gvfs-fuse
310
gvfs-goa
311
gvfs-gphoto2
312
gvfs-mtp
313
gvfs-smb
314
gvnc
315
gzip
316
hardlink
317
harfbuzz
318
harfbuzz-icu
319
hicolor-icon-theme
320
hostname
321
hplip-common
322
hunspell
323
hunspell-en
324
hunspell-en-GB
325
hunspell-en-US
326
hwdata
327
ibus
328
ibus-chewing
329
ibus-gtk2
330
ibus-gtk3
331
ibus-hangul
332
ibus-libs
333
ibus-m17n
334
ibus-rawcode
335
ibus-sayura
336
ibus-setup
337
ibus-table
338
ibus-table-chinese
339
imsettings
340
imsettings-gsettings
341
imsettings-libs
342
info
343
initial-setup
344
initscripts
345
iproute
346
iprutils
347
iptables
348
iputils
349
irqbalance
350
iscsi-initiator-utils
351
iscsi-initiator-utils-iscsiuio
352
iso-codes
353
isomd5sum
354
ivtv-firmware
355
iw
356
iwl1000-firmware
357
iwl100-firmware
358
iwl105-firmware
359
iwl135-firmware
360
iwl2000-firmware
361
iwl2030-firmware
362
iwl3160-firmware
363
iwl3945-firmware
364
iwl4965-firmware
365
iwl5000-firmware
366
iwl5150-firmware
367
iwl6000-firmware
368
iwl6000g2a-firmware
369
iwl6000g2b-firmware
370
iwl6050-firmware
371
iwl7260-firmware
372
jansson
373
jasper-libs
374
jbigkit-libs
375
jomolhari-fonts
431 beyerleu 376
##js
393 beyerleu 377
json-c
378
json-glib
379
kbd
380
kbd-misc
381
kernel
382
kernel-tools
383
kernel-tools-libs
384
kexec-tools
385
keybinder3
386
keyutils-libs
387
khmeros-base-fonts
388
khmeros-fonts-common
389
kmod
390
kmod-libs
391
kpartx
392
kpatch
393
krb5-libs
394
langtable
395
langtable-data
396
langtable-python
397
lcms2
398
ldns
399
ledmon
400
less
401
libacl
402
libaio
403
libarchive
404
libart_lgpl
405
libassuan
406
libasyncns
407
libatasmart
408
libattr
409
libavc1394
410
libblkid
411
libbluray
412
libbonobo
413
libbonoboui
414
libcacard
415
libcanberra
416
libcanberra-gtk2
417
libcanberra-gtk3
418
libcap
419
libcap-ng
420
libcdio
421
libcdio-paranoia
422
libcgroup
423
libchewing
424
libcom_err
425
libconfig
426
libcroco
427
libcurl
428
libdaemon
429
libdb
430
libdb-utils
431
libdmapsharing
432
libdmx
433
libdrm
434
libdv
435
libdvdnav
436
libdvdread
437
libdwarf
438
libedit
439
liberation-fonts-common
440
liberation-mono-fonts
441
liberation-sans-fonts
442
liberation-serif-fonts
443
libestr
444
libevent
445
libexif
446
libffi
447
libfontenc
448
libfprint
449
libgcc
450
libgcrypt
451
libgdata
452
libgdither
453
libgee
454
libgee06
455
libglade2
456
libgnome
457
libgnomecanvas
458
libgnomekbd
459
libgnome-keyring
460
libgnomeui
461
libgomp
462
libgpg-error
463
libgphoto2
464
libgsf
465
libgtop2
466
libgudev1
467
libgusb
468
libgweather
469
libgxps
470
libhangul
471
libhbaapi
472
libhbalinux
473
libical
474
libICE
475
libicu
476
libIDL
477
libidn
478
libiec61883
479
libieee1284
480
libimobiledevice
481
libiptcdata
482
libiscsi
483
libjpeg-turbo
484
libldb
485
libmnl
486
libmodman
487
libmount
488
libmtp
489
libmusicbrainz5
490
libndp
491
libnetfilter_conntrack
492
libnfnetlink
493
libnl
494
libnl3
495
libnl3-cli
496
libnm-gtk
497
libnotify
498
liboauth
499
libogg
500
libosinfo
501
libpcap
502
libpciaccess
503
libpeas
504
libpipeline
505
libplist
506
libpng
507
libproxy
508
libproxy-mozjs
509
libpwquality
510
libquvi
511
libquvi-scripts
512
libraw1394
513
libreport
514
libreport-anaconda
515
libreport-cli
516
libreport-filesystem
517
libreport-gtk
518
libreport-plugin-bugzilla
519
libreport-plugin-mailx
520
libreport-plugin-reportuploader
521
libreport-python
522
libreport-rhel-anaconda-bugzilla
523
libreport-web
431 beyerleu 524
##libreswan
393 beyerleu 525
librsvg2
526
libsamplerate
527
libsecret
528
libselinux
529
libselinux-python
530
libselinux-utils
531
libsemanage
532
libsemanage-python
533
libsepol
534
libshout
535
libsigc++20
536
libSM
537
libsmbclient
538
libsndfile
539
libsoup
431 beyerleu 540
##libspectre
393 beyerleu 541
libss
542
libssh2
543
libstdc++
544
libstoragemgmt
545
libstoragemgmt-python
546
libsysfs
547
libtalloc
548
libtar
549
libtasn1
550
libtdb
551
libteam
552
libtevent
553
libthai
554
libtheora
555
libtiff
556
libtool-ltdl
557
libudisks2
558
libunistring
559
libusb
560
libusbx
561
libuser
562
libuser-python
563
libutempter
564
libuuid
565
libv4l
566
libverto
567
libvisual
568
libvorbis
569
libvpx
570
libwacom
571
libwacom-data
572
libwbclient
573
libwebp
574
libwnck3
575
libX11
576
libX11-common
577
libXau
578
libxcb
579
libXcomposite
580
libXcursor
581
libXdamage
582
libXdmcp
583
libXevie
584
libXext
585
libXfixes
586
libXfont
587
libXft
588
libXi
589
libXinerama
590
libxkbfile
591
libxklavier
592
libxml2
593
libxml2-python
594
libXmu
595
libXpm
596
libXrandr
597
libXrender
598
libXres
599
libxslt
600
libXt
601
libXtst
602
libXv
603
libXvMC
604
libXxf86dga
605
libXxf86misc
606
libXxf86vm
607
libzapojit
608
linuxconsoletools
609
linux-firmware
610
lklug-fonts
611
lldpad
612
lm_sensors-libs
613
lockdev
614
logrotate
615
lohit-assamese-fonts
616
lohit-bengali-fonts
617
lohit-devanagari-fonts
618
lohit-gujarati-fonts
619
lohit-kannada-fonts
620
lohit-malayalam-fonts
621
lohit-marathi-fonts
622
lohit-nepali-fonts
623
lohit-oriya-fonts
624
lohit-punjabi-fonts
625
lohit-tamil-fonts
626
lohit-telugu-fonts
627
lsof
628
lua
629
lvm2
630
lvm2-libs
631
lzo
632
m17n-contrib
633
m17n-db
634
m17n-lib
635
m2crypto
636
madan-fonts
637
mailx
638
make
639
man-db
640
man-pages
641
man-pages-overrides
431 beyerleu 642
##mariadb-libs
393 beyerleu 643
marisa
644
mdadm
645
mesa-dri-drivers
646
mesa-filesystem
647
mesa-libEGL
648
mesa-libgbm
649
mesa-libGL
650
mesa-libglapi
651
mesa-libxatracker
652
mesa-private-llvm
653
metacity
654
microcode_ctl
655
mlocate
656
mobile-broadband-provider-info
657
ModemManager-glib
658
mousetweaks
659
mozilla-filesystem
660
mozjs17
661
mtdev
662
mtools
663
mtr
664
mutter
665
nano
666
nautilus
667
nautilus-extensions
668
nautilus-sendto
669
ncurses
670
ncurses-base
671
ncurses-libs
672
neon
673
net-snmp-libs
674
nettle
675
net-tools
676
NetworkManager
677
NetworkManager-glib
431 beyerleu 678
##NetworkManager-libreswan
393 beyerleu 679
NetworkManager-tui
680
newt
681
newt-python
682
nm-connection-editor
683
nspr
684
nss
685
nss-softokn
686
nss-softokn-freebl
687
nss-sysinit
688
nss-tools
689
nss-util
690
ntpdate
691
ntsysv
692
numactl-libs
693
obexd
694
oddjob
695
oddjob-mkhomedir
696
openjpeg-libs
697
openldap
698
openssh
699
openssh-clients
700
openssh-server
701
openssl
702
openssl-libs
703
opus
704
ORBit2
705
orc
706
os-prober
707
overpass-fonts
708
p11-kit
709
p11-kit-trust
710
PackageKit
711
PackageKit-command-not-found
712
PackageKit-device-rebind
713
PackageKit-glib
714
PackageKit-gtk3-module
715
PackageKit-yum
716
pakchois
717
paktype-naskh-basic-fonts
718
pam
719
pango
720
pangomm
721
paratype-pt-sans-fonts
722
parted
723
passwd
398 beyerleu 724
patch
393 beyerleu 725
pciutils
726
pciutils-libs
727
pcre
728
pcsc-lite-libs
729
pinentry
730
pinentry-gtk
731
pinfo
732
pixman
733
pkgconfig
734
plymouth
735
plymouth-core-libs
736
plymouth-graphics-libs
737
plymouth-plugin-label
738
plymouth-plugin-two-step
739
plymouth-scripts
740
plymouth-system-theme
741
plymouth-theme-charge
742
pm-utils
743
policycoreutils
744
policycoreutils-python
745
polkit
746
polkit-pkla-compat
747
poppler
748
poppler-data
749
poppler-glib
750
popt
751
ppp
752
procps-ng
753
psacct
754
psmisc
755
pth
756
pulseaudio
757
pulseaudio-gdm-hooks
758
pulseaudio-libs
759
pulseaudio-libs-glib2
760
pulseaudio-module-bluetooth
761
pyatspi
762
pycairo
431 beyerleu 763
#pygobject2
764
#pygobject3
765
#pygobject3-base
393 beyerleu 766
pygpgme
767
pygtk2
768
pygtk2-libglade
769
pykickstart
770
pyliblzma
771
pyOpenSSL
772
pyorbit
773
pyparted
774
pytalloc
775
python
776
python-backports
777
python-backports-ssl_match_hostname
778
python-blivet
779
python-chardet
780
python-configobj
781
python-coverage
782
python-dateutil
783
python-decorator
784
python-deltarpm
785
python-di
786
python-dmidecode
787
python-ethtool
788
python-gudev
789
python-hwdata
790
python-iniparse
791
python-IPy
792
python-kitchen
793
python-libs
794
python-lxml
795
python-meh
796
python-nss
797
python-pwquality
798
python-pyblock
799
python-pycurl
800
python-pyudev
801
python-setuptools
802
python-slip
803
python-slip-dbus
804
python-urlgrabber
805
pytz
806
pyxattr
807
qrencode-libs
808
quota
809
quota-nls
810
rdate
811
readline
812
realmd
813
sl-bookmarks
814
sl-indexhtml
815
sl-logos
816
redhat-menus
817
rest
818
rfkill
819
rng-tools
820
rootfiles
821
rpm
822
rpm-build-libs
823
rpm-libs
824
rpm-python
825
rsync
826
rsyslog
827
rsyslog-mmjsonparse
828
rtkit
829
samba-common
830
samba-libs
831
satyr
832
sbc
833
scl-utils
834
SDL
431 beyerleu 835
##seahorse
393 beyerleu 836
sed
837
selinux-policy
838
selinux-policy-targeted
839
setools-libs
840
setroubleshoot
841
setroubleshoot-plugins
842
setroubleshoot-server
843
setserial
844
setup
845
setuptool
846
sg3_utils-libs
847
sgpio
848
shadow-utils
849
shared-mime-info
850
sil-abyssinica-fonts
851
sil-nuosu-fonts
852
sil-padauk-fonts
853
slang
854
smartmontools
855
smc-fonts-common
856
smc-meera-fonts
857
snappy
858
sos
859
sound-theme-freedesktop
860
soundtouch
861
speex
862
spice-glib
863
spice-gtk3
864
spice-vdagent
865
sqlite
866
sssd-client
867
startup-notification
868
stix-fonts
869
strace
870
sudo
431 beyerleu 871
##sushi
393 beyerleu 872
syslinux
873
sysstat
874
system-config-keyboard
875
system-config-keyboard-base
876
systemd
877
systemd-libs
878
systemd-python
879
systemd-sysv
431 beyerleu 880
##systemtap-runtime
393 beyerleu 881
sysvinit-tools
882
taglib
883
tar
884
tcpdump
885
tcp_wrappers
886
tcp_wrappers-libs
887
tcsh
888
teamd
889
telepathy-filesystem
890
telepathy-glib
891
telepathy-logger
892
thai-scalable-fonts-common
893
thai-scalable-waree-fonts
894
tigervnc-license
895
tigervnc-server-minimal
896
time
431 beyerleu 897
##totem
898
##totem-nautilus
899
##totem-pl-parser
393 beyerleu 900
traceroute
901
tracker
902
tuned
903
tzdata
431 beyerleu 904
##ucs-miscfixed-fonts
393 beyerleu 905
udisks2
906
unbound-libs
907
unzip
908
upower
909
urw-fonts
910
usb_modeswitch
911
usb_modeswitch-data
912
usbmuxd
913
usbredir
914
usbutils
915
usermode
916
usermode-gtk
917
ustr
918
util-linux
415 beyerleu 919
#vim-common
920
#vim-enhanced
921
#vim-filesystem
922
#vim-minimal
393 beyerleu 923
vinagre
924
vino
925
virt-what
926
vlgothic-fonts
927
vte3
928
wavpack
929
webkitgtk3
930
webrtc-audio-processing
931
wget
932
which
431 beyerleu 933
##words
393 beyerleu 934
wpa_supplicant
935
wqy-microhei-fonts
936
xcb-util
937
xdg-user-dirs
938
xdg-user-dirs-gtk
939
xdg-utils
940
xfsdump
941
xfsprogs
942
xkeyboard-config
943
xml-common
944
xmlrpc-c
945
xmlrpc-c-client
946
xorg-x11-drivers
947
xorg-x11-drv-ati
948
xorg-x11-drv-dummy
949
xorg-x11-drv-evdev
950
xorg-x11-drv-fbdev
951
xorg-x11-drv-intel
952
xorg-x11-drv-modesetting
953
xorg-x11-drv-nouveau
954
xorg-x11-drv-qxl
955
xorg-x11-drv-synaptics
956
xorg-x11-drv-v4l
957
xorg-x11-drv-vesa
958
xorg-x11-drv-vmmouse
959
xorg-x11-drv-vmware
960
xorg-x11-drv-void
961
xorg-x11-drv-wacom
962
xorg-x11-font-utils
963
xorg-x11-glamor
964
xorg-x11-server-common
965
xorg-x11-server-utils
966
xorg-x11-server-Xorg
967
xorg-x11-utils
968
xorg-x11-xauth
969
xorg-x11-xinit
970
xorg-x11-xkb-utils
971
xvattr
972
xz
973
xz-libs
974
yajl
975
yelp
976
yelp-libs
977
yelp-xsl
978
yum
979
yum-langpacks
980
yum-metadata-parser
981
yum-utils
982
zenity
983
zip
984
zlib
985
 
986
# for UEFI/Secureboot support
987
grub2
988
grub2-efi
989
efibootmgr
431 beyerleu 990
shim-x64
393 beyerleu 991
 
992
 
993
 
994
%end
995
 
996
%post
997
# FIXME: it'd be better to get this installed from a package
998
cat > /etc/rc.d/init.d/livesys << EOF
999
#!/bin/bash
1000
#
1001
# live: Init script for live image
1002
#
1003
# chkconfig: 345 00 99
1004
# description: Init script for live image.
1005
### BEGIN INIT INFO
1006
# X-Start-Before: display-manager
1007
### END INIT INFO
1008
 
1009
. /etc/init.d/functions
1010
 
1011
if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ]; then
1012
    exit 0
1013
fi
1014
 
1015
if [ -e /.liveimg-configured ] ; then
1016
    configdone=1
1017
fi
1018
 
1019
exists() {
1020
    which \$1 >/dev/null 2>&1 || return
1021
    \$*
1022
}
1023
 
1024
# Make sure we don't mangle the hardware clock on shutdown
1025
ln -sf /dev/null /etc/systemd/system/hwclock-save.service
1026
 
1027
livedir="LiveOS"
1028
for arg in \`cat /proc/cmdline\` ; do
1029
  if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
1030
    livedir=\${arg##rd.live.dir=}
1031
    return
1032
  fi
1033
  if [ "\${arg##live_dir=}" != "\${arg}" ]; then
1034
    livedir=\${arg##live_dir=}
1035
    return
1036
  fi
1037
done
1038
 
1039
# enable swaps unless requested otherwise
1040
swaps=\`blkid -t TYPE=swap -o device\`
1041
if ! strstr "\`cat /proc/cmdline\`" noswap && [ -n "\$swaps" ] ; then
1042
  for s in \$swaps ; do
1043
    action "Enabling swap partition \$s" swapon \$s
1044
  done
1045
fi
1046
if ! strstr "\`cat /proc/cmdline\`" noswap && [ -f /run/initramfs/live/\${livedir}/swap.img ] ; then
1047
  action "Enabling swap file" swapon /run/initramfs/live/\${livedir}/swap.img
1048
fi
1049
 
1050
mountPersistentHome() {
1051
  # support label/uuid
1052
  if [ "\${homedev##LABEL=}" != "\${homedev}" -o "\${homedev##UUID=}" != "\${homedev}" ]; then
1053
    homedev=\`/sbin/blkid -o device -t "\$homedev"\`
1054
  fi
1055
 
1056
  # if we're given a file rather than a blockdev, loopback it
1057
  if [ "\${homedev##mtd}" != "\${homedev}" ]; then
1058
    # mtd devs don't have a block device but get magic-mounted with -t jffs2
1059
    mountopts="-t jffs2"
1060
  elif [ ! -b "\$homedev" ]; then
1061
    loopdev=\`losetup -f\`
1062
    if [ "\${homedev##/run/initramfs/live}" != "\${homedev}" ]; then
1063
      action "Remounting live store r/w" mount -o remount,rw /run/initramfs/live
1064
    fi
1065
    losetup \$loopdev \$homedev
1066
    homedev=\$loopdev
1067
  fi
1068
 
1069
  # if it's encrypted, we need to unlock it
1070
  if [ "\$(/sbin/blkid -s TYPE -o value \$homedev 2>/dev/null)" = "crypto_LUKS" ]; then
1071
    echo
1072
    echo "Setting up encrypted /home device"
1073
    plymouth ask-for-password --command="cryptsetup luksOpen \$homedev EncHome"
1074
    homedev=/dev/mapper/EncHome
1075
  fi
1076
 
1077
  # and finally do the mount
1078
  mount \$mountopts \$homedev /home
1079
  # if we have /home under what's passed for persistent home, then
1080
  # we should make that the real /home.  useful for mtd device on olpc
1081
  if [ -d /home/home ]; then mount --bind /home/home /home ; fi
1082
  [ -x /sbin/restorecon ] && /sbin/restorecon /home
1083
  if [ -d /home/liveuser ]; then USERADDARGS="-M" ; fi
1084
}
1085
 
1086
findPersistentHome() {
1087
  for arg in \`cat /proc/cmdline\` ; do
1088
    if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
1089
      homedev=\${arg##persistenthome=}
1090
      return
1091
    fi
1092
  done
1093
}
1094
 
1095
if strstr "\`cat /proc/cmdline\`" persistenthome= ; then
1096
  findPersistentHome
1097
elif [ -e /run/initramfs/live/\${livedir}/home.img ]; then
1098
  homedev=/run/initramfs/live/\${livedir}/home.img
1099
fi
1100
 
1101
# if we have a persistent /home, then we want to go ahead and mount it
1102
if ! strstr "\`cat /proc/cmdline\`" nopersistenthome && [ -n "\$homedev" ] ; then
1103
  action "Mounting persistent /home" mountPersistentHome
1104
fi
1105
 
1106
# make it so that we don't do writing to the overlay for things which
1107
# are just tmpdirs/caches
1108
mount -t tmpfs -o mode=0755 varcacheyum /var/cache/yum
1109
mount -t tmpfs vartmp /var/tmp
1110
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /var/tmp >/dev/null 2>&1
1111
 
1112
if [ -n "\$configdone" ]; then
1113
  exit 0
1114
fi
1115
 
1116
# add live user with no passwd
1117
action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
1118
passwd -d liveuser > /dev/null
1119
usermod -aG wheel liveuser > /dev/null
1120
 
1121
# Remove root password lock
1122
passwd -d root > /dev/null
1123
 
1124
# turn off firstboot for livecd boots
1125
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
1126
systemctl --no-reload disable firstboot-graphical.service 2> /dev/null || :
1127
systemctl stop firstboot-text.service 2> /dev/null || :
1128
systemctl stop firstboot-graphical.service 2> /dev/null || :
1129
 
1130
# don't use prelink on a running live image
1131
sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null || :
1132
 
1133
# turn off mdmonitor by default
1134
systemctl --no-reload disable mdmonitor.service 2> /dev/null || :
1135
systemctl --no-reload disable mdmonitor-takeover.service 2> /dev/null || :
1136
systemctl stop mdmonitor.service 2> /dev/null || :
1137
systemctl stop mdmonitor-takeover.service 2> /dev/null || :
1138
 
1139
# don't enable the gnome-settings-daemon packagekit plugin
402 beyerleu 1140
echo -e "\ngsettings set org.gnome.settings-daemon.plugins.updates active 'false' &>/dev/null || :" >> /home/liveuser/.bashrc
393 beyerleu 1141
 
431 beyerleu 1142
# arrange icons on desktop
1143
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
1144
echo      "gvfs-set-attribute -t string '/home/liveuser/Desktop/liveinst.desktop'               'metadata::nautilus-icon-position' '60,122' &>/dev/null || :" >> /home/liveuser/.bashrc
1145
 
1146
# no trash icon
1147
echo -e "\ngsettings set org.gnome.nautilus.desktop trash-icon-visible false &>/dev/null || :" >> /home/liveuser/.bashrc
1148
 
443 beyerleu 1149
# trust all .desktop files on liveuser desktop
1150
echo -e "\nls -1 /home/liveuser/Desktop/*.desktop | xargs -i gio set \"{}\" \"metadata::trusted\" yes" >> /home/liveuser/.bashrc
1151
 
393 beyerleu 1152
# don't start cron/at as they tend to spawn things which are
1153
# disk intensive that are painful on a live image
1154
systemctl --no-reload disable crond.service 2> /dev/null || :
1155
systemctl --no-reload disable atd.service 2> /dev/null || :
1156
systemctl stop crond.service 2> /dev/null || :
1157
systemctl stop atd.service 2> /dev/null || :
1158
 
396 beyerleu 1159
# disable kdump service
1160
systemctl --no-reload disable kdump.service 2> /dev/null || :
1161
systemctl stop kdump.service 2> /dev/null || :
1162
 
431 beyerleu 1163
# disable tuned.service
1164
systemctl --no-reload disable tuned.service 2> /dev/null || :
1165
systemctl stop tuned.service 2> /dev/null || :
1166
 
393 beyerleu 1167
# Mark things as configured
1168
touch /.liveimg-configured
1169
 
1170
# add static hostname to work around xauth bug
439 beyerleu 1171
# https://bugzilla.redhat.com/show_bug.cgi?id=67.686
393 beyerleu 1172
echo "localhost" > /etc/hostname
1173
 
1174
# Fixing the lang install issue when other lang than English is selected . See http://bugs.centos.org/view.php?id=7217
1175
/usr/bin/cp /usr/lib/python2.7/site-packages/blivet/size.py /usr/lib/python2.7/site-packages/blivet/size.py.orig
1176
/usr/bin/sed -i "s#return self.humanReadable()#return self.humanReadable().encode('utf-8')#g" /usr/lib/python2.7/site-packages/blivet/size.py
1177
 
1178
EOF
1179
 
1180
# bah, hal starts way too late
1181
cat > /etc/rc.d/init.d/livesys-late << EOF
1182
#!/bin/bash
1183
#
1184
# live: Late init script for live image
1185
#
1186
# chkconfig: 345 99 01
1187
# description: Late init script for live image.
1188
 
1189
. /etc/init.d/functions
1190
 
1191
if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then
1192
    exit 0
1193
fi
1194
 
1195
exists() {
1196
    which \$1 >/dev/null 2>&1 || return
1197
    \$*
1198
}
1199
 
1200
touch /.liveimg-late-configured
1201
 
1202
# read some variables out of /proc/cmdline
1203
for o in \`cat /proc/cmdline\` ; do
1204
    case \$o in
1205
    ks=*)
1206
        ks="--kickstart=\${o#ks=}"
1207
        ;;
1208
    xdriver=*)
1209
        xdriver="\${o#xdriver=}"
1210
        ;;
1211
    esac
1212
done
1213
 
1214
# if liveinst or textinst is given, start anaconda
1215
if strstr "\`cat /proc/cmdline\`" liveinst ; then
1216
   plymouth --quit
1217
   /usr/sbin/liveinst \$ks
1218
fi
1219
if strstr "\`cat /proc/cmdline\`" textinst ; then
1220
   plymouth --quit
1221
   /usr/sbin/liveinst --text \$ks
1222
fi
1223
 
1224
# configure X, allowing user to override xdriver
1225
if [ -n "\$xdriver" ]; then
1226
   cat > /etc/X11/xorg.conf.d/00-xdriver.conf <<FOE
1227
Section "Device"
1228
	Identifier	"Videocard0"
1229
	Driver	"\$xdriver"
1230
EndSection
1231
FOE
1232
fi
1233
 
1234
EOF
1235
 
1236
chmod 755 /etc/rc.d/init.d/livesys
1237
/sbin/restorecon /etc/rc.d/init.d/livesys
1238
/sbin/chkconfig --add livesys
1239
 
1240
chmod 755 /etc/rc.d/init.d/livesys-late
1241
/sbin/restorecon /etc/rc.d/init.d/livesys-late
1242
/sbin/chkconfig --add livesys-late
1243
 
1244
# enable tmpfs for /tmp
1245
systemctl enable tmp.mount
1246
 
1247
# work around for poor key import UI in PackageKit
1248
rm -f /var/lib/rpm/__db*
1249
releasever=$(rpm -q --qf '%{version}\n' --whatprovides system-release)
1250
basearch=$(uname -i)
1251
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-*
1252
echo "Packages within this LiveCD (with version)"
1253
rpm -qa | sort
1254
echo "Packages within this LiveCD"
1255
rpm -qa --qf "%{name}\n" | sort
1256
# Note that running rpm recreates the rpm db files which aren't needed or wanted
1257
rm -f /var/lib/rpm/__db*
1258
 
1259
# go ahead and pre-make the man -k cache (#455968)
1260
/usr/bin/mandb
1261
 
1262
# save a little bit of space at least...
1263
rm -f /boot/initramfs*
1264
# make sure there aren't core files lying around
1265
rm -f /core*
1266
 
431 beyerleu 1267
# remove langpacks of firefox - this will significantly save space
1268
rm -f /usr/lib64/firefox/langpacks/*
1269
 
393 beyerleu 1270
# convince readahead not to collect
1271
# FIXME: for systemd
1272
 
1273
cat >> /etc/rc.d/init.d/livesys << EOF
1274
 
1275
 
1276
# disable updates plugin
1277
cat >> /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.override << FOE
1278
[org.gnome.settings-daemon.plugins.updates]
1279
active=false
1280
FOE
1281
 
1282
# Show the system-config-keyboard tool on the desktop
1283
mkdir /home/liveuser/Desktop -p >/dev/null
1284
cat /usr/share/applications/system-config-keyboard.desktop | sed '/NotShowIn/d' |sed 's/Terminal=false/Terminal=true/' > /home/liveuser/Desktop/system-config-keyboard.desktop
1285
cat /usr/share/applications/liveinst.desktop | sed '/NoDisplay/d' > /home/liveuser/Desktop/liveinst.desktop 
1286
chmod +x /home/liveuser/Desktop/*.desktop
1287
chown -R liveuser:liveuser /home/liveuser
1288
 
1289
# Liveuser face
1290
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
1291
    cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/liveuser/.face
1292
    chown liveuser:liveuser /home/liveuser/.face
1293
fi
1294
 
1295
# make the installer show up
1296
if [ -f /usr/share/applications/liveinst.desktop ]; then
1297
  # Show harddisk install in shell dash
1298
  sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop 
1299
  # need to move it to anaconda.desktop to make shell happy
1300
  #cp /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
1301
fi
1302
  cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
1303
[org.gnome.shell]
1304
favorite-apps=['liveinst.desktop','firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'gnome-documents.desktop', 'anaconda.desktop']
1305
FOE
1306
 
1307
 
1308
# set up auto-login
1309
cat > /etc/gdm/custom.conf << FOE
1310
[daemon]
1311
AutomaticLoginEnable=True
1312
AutomaticLogin=liveuser
1313
FOE
1314
 
1315
# Turn off PackageKit-command-not-found while uninstalled
1316
if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
1317
  sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
1318
fi
1319
 
1320
# make sure to set the right permissions and selinux contexts
1321
chown -R liveuser:liveuser /home/liveuser/
1322
restorecon -R /home/liveuser/
1323
 
398 beyerleu 1324
# Fixing default locale to us - does not work for SL7.1
397 beyerleu 1325
#localectl set-keymap us
1326
#localectl set-x11-keymap us
393 beyerleu 1327
EOF
1328
 
1329
# rebuild schema cache with any overrides we installed
1330
glib-compile-schemas /usr/share/glib-2.0/schemas
1331
 
1332
 
1333
%end