Blame kickstarts/centos-7-livecd-i386.cfg

efc291
09c4ee
lang en_US.UTF-8
efc291
keyboard us
09c4ee
timezone Etc/UTC --isUtc
efc291
auth --useshadow --enablemd5
efc291
selinux --enforcing
efc291
firewall --enabled --service=mdns
efc291
xconfig --startxonboot
efc291
part / --size 8192 --fstype ext4
efc291
services --enabled=NetworkManager --disabled=network,sshd
efc291
efc291
efc291
# Root password
efc291
rootpw --iscrypted $6$K2nKf02kVKG68960$OywvoaViphSITuro/liKvCj7Pm/CH/xqzz/lsoXyaKSR1lYf0vHAqSUc483a9MCCBkIwfr/hNMfqwxqVO0OEg1
efc291
efc291
# Workaround for the grubby issue on live media (see https://bugzilla.redhat.com/show_bug.cgi?id=1153410)
efc291
repo --name=base --baseurl=http://mirror.centos.org/altarch/7/os/i386/ --excludepkgs=grubby
09c4ee
repo --name=grubby --baseurl=http://dev.centos.org/c7.00.02/ --includepkgs=grubby --excludepkgs=*.x86_64
09c4ee
repo --name=updates --baseurl=http://mirror.centos.org/altarch/7/updates/i386/ --excludepkgs=grubby
efc291
efc291
%packages
efc291
abattis-cantarell-fonts
efc291
accountsservice
efc291
accountsservice-libs
efc291
acl
efc291
adwaita-cursor-theme
efc291
adwaita-gtk2-theme
efc291
adwaita-gtk3-theme
efc291
aic94xx-firmware
efc291
alsa-firmware
efc291
alsa-lib
efc291
alsa-tools-firmware
efc291
anaconda
efc291
anaconda-widgets
efc291
at
efc291
atk
efc291
atkmm
efc291
at-spi2-atk
efc291
at-spi2-core
efc291
attr
efc291
audit
efc291
audit-libs
efc291
audit-libs-python
efc291
augeas-libs
efc291
authconfig
efc291
avahi
efc291
avahi-autoipd
efc291
avahi-glib
efc291
avahi-gobject
efc291
avahi-libs
efc291
avahi-ui-gtk3
efc291
baobab
efc291
basesystem
efc291
bash
efc291
bash-completion
efc291
bc
efc291
bind-libs
efc291
bind-libs-lite
efc291
bind-license
efc291
bind-utils
efc291
binutils
efc291
biosdevname
efc291
blktrace
efc291
bluez
efc291
bluez-libs
efc291
bridge-utils
efc291
btrfs-progs
efc291
bzip2
efc291
bzip2-libs
efc291
ca-certificates
efc291
cairo
efc291
cairo-gobject
efc291
cairomm
efc291
caribou
efc291
caribou-gtk2-module
efc291
caribou-gtk3-module
efc291
cdparanoia-libs
efc291
celt051
efc291
checkpolicy
efc291
cheese
efc291
cheese-libs
efc291
chkconfig
efc291
chrony
efc291
clutter
efc291
clutter-gst2
efc291
clutter-gtk
efc291
cogl
efc291
colord
efc291
colord-gtk
efc291
colord-libs
efc291
color-filesystem
efc291
comps-extras
efc291
control-center
efc291
control-center-filesystem
efc291
coreutils
efc291
cpio
efc291
cracklib
efc291
cracklib-dicts
efc291
crda
efc291
createrepo
efc291
cronie
efc291
cronie-anacron
efc291
crontabs
efc291
cryptsetup
efc291
cryptsetup-libs
efc291
cryptsetup-python
efc291
cups-libs
efc291
cups-pk-helper
efc291
curl
efc291
cyrus-sasl-lib
efc291
cyrus-sasl-plain
efc291
dbus
efc291
dbus-glib
efc291
dbus-libs
efc291
dbus-python
efc291
dbus-x11
efc291
dconf
efc291
dejavu-fonts-common
efc291
dejavu-sans-fonts
efc291
dejavu-sans-mono-fonts
efc291
dejavu-serif-fonts
efc291
deltarpm
efc291
desktop-file-utils
efc291
device-mapper
efc291
device-mapper-event
efc291
device-mapper-event-libs
efc291
device-mapper-libs
efc291
device-mapper-multipath
efc291
device-mapper-multipath-libs
efc291
device-mapper-persistent-data
efc291
dhclient
efc291
dhcp-common
efc291
dhcp-libs
efc291
diffutils
efc291
dmidecode
efc291
dmraid
efc291
dmraid-events
efc291
dnsmasq
efc291
dosfstools
efc291
dracut
efc291
dracut-config-rescue
efc291
dracut-network
efc291
dyninst
efc291
e2fsprogs
efc291
e2fsprogs-libs
efc291
ebtables
efc291
ed
efc291
elfutils-libelf
efc291
elfutils-libs
efc291
emacs-filesystem
efc291
enchant
efc291
eog
efc291
ethtool
efc291
evolution-data-server
efc291
exempi
efc291
exiv2-libs
efc291
expat
efc291
fcoe-utils
efc291
file
efc291
file-libs
efc291
file-roller
efc291
file-roller-nautilus
efc291
filesystem
efc291
findutils
efc291
fipscheck
efc291
fipscheck-lib
efc291
firefox
efc291
firewall-config
efc291
firewalld
efc291
firstboot
efc291
flac-libs
efc291
folks
efc291
fontconfig
efc291
fontpackages-filesystem
efc291
fprintd
efc291
fprintd-pam
efc291
freerdp
efc291
freerdp-libs
efc291
freerdp-plugins
efc291
freetype
efc291
frei0r-plugins
efc291
fros
efc291
fuse
efc291
fuse-libs
efc291
fxload
efc291
gamin
efc291
gavl
efc291
gawk
efc291
GConf2
efc291
gcr
efc291
gd
efc291
gdbm
efc291
gdisk
efc291
gdk-pixbuf2
efc291
gdm
efc291
gdm-libs
efc291
gedit
efc291
geoclue
efc291
gettext
efc291
gettext-libs
efc291
ghostscript
efc291
ghostscript-fonts
efc291
giflib
efc291
gjs
efc291
glade-libs
efc291
glib2
efc291
glibc
efc291
glibc-common
efc291
glibmm24
efc291
glib-networking
efc291
#glusterfs-api
efc291
#glusterfs-libs
efc291
glx-utils
efc291
gmp
efc291
gnome-bluetooth
efc291
gnome-bluetooth-libs
efc291
gnome-calculator
efc291
gnome-classic-session
efc291
gnome-clocks
efc291
gnome-color-manager
efc291
gnome-contacts
efc291
gnome-desktop3
efc291
gnome-dictionary
efc291
gnome-disk-utility
efc291
gnome-documents
efc291
gnome-font-viewer
efc291
gnome-icon-theme
efc291
gnome-icon-theme-extras
efc291
gnome-icon-theme-legacy
efc291
gnome-icon-theme-symbolic
efc291
gnome-keyring
efc291
gnome-keyring-pam
efc291
gnome-menus
efc291
gnome-online-accounts
efc291
gnome-packagekit
efc291
gnome-python2
efc291
gnome-python2-bonobo
efc291
gnome-python2-canvas
efc291
gnome-python2-gnome
efc291
gnome-python2-gnomevfs
efc291
gnome-screenshot
efc291
gnome-session
efc291
gnome-session-xsession
efc291
gnome-settings-daemon
efc291
gnome-settings-daemon-updates
efc291
gnome-shell
efc291
gnome-shell-extension-alternate-tab
efc291
gnome-shell-extension-apps-menu
efc291
gnome-shell-extension-common
efc291
gnome-shell-extension-launch-new-instance
efc291
gnome-shell-extension-places-menu
efc291
gnome-shell-extension-window-list
efc291
gnome-system-log
efc291
gnome-system-monitor
efc291
gnome-terminal
efc291
gnome-themes-standard
efc291
gnome-tweak-tool
efc291
gnome-user-docs
efc291
gnome-vfs2
efc291
gnome-video-effects
efc291
gnu-free-fonts-common
efc291
gnu-free-mono-fonts
efc291
gnu-free-sans-fonts
efc291
gnu-free-serif-fonts
efc291
gnupg2
efc291
gnutls
efc291
gobject-introspection
efc291
google-crosextra-caladea-fonts
efc291
google-crosextra-carlito-fonts
efc291
gpgme
efc291
gpm-libs
efc291
graphite2
efc291
grep
efc291
grilo
efc291
grilo-plugins
efc291
groff-base
efc291
grub2
efc291
grub2-tools
efc291
grubby
efc291
gsettings-desktop-schemas
efc291
gsm
efc291
gssdp
efc291
gstreamer1
efc291
gstreamer1-plugins-bad-free
efc291
gstreamer1-plugins-base
efc291
gstreamer1-plugins-good
efc291
gtk2
efc291
gtk2-immodule-xim
efc291
gtk3
efc291
gtk3-immodule-xim
efc291
gtkmm30
efc291
gtksourceview3
efc291
gtk-vnc2
efc291
gucharmap
efc291
gupnp
efc291
gupnp-av
efc291
gvfs
efc291
gvfs-afc
efc291
gvfs-afp
efc291
gvfs-archive
efc291
gvfs-fuse
efc291
gvfs-goa
efc291
gvfs-gphoto2
efc291
gvfs-mtp
efc291
gvfs-smb
efc291
gvnc
efc291
gzip
efc291
hardlink
efc291
harfbuzz
efc291
harfbuzz-icu
efc291
hicolor-icon-theme
efc291
hostname
efc291
hplip-common
efc291
hunspell
efc291
hunspell-en
efc291
hunspell-en-GB
efc291
hunspell-en-US
efc291
hwdata
efc291
ibus
efc291
ibus-chewing
efc291
ibus-gtk2
efc291
ibus-gtk3
efc291
ibus-hangul
efc291
ibus-libs
efc291
ibus-m17n
efc291
ibus-rawcode
efc291
ibus-sayura
efc291
ibus-setup
efc291
ibus-table
efc291
ibus-table-chinese
efc291
imsettings
efc291
imsettings-gsettings
efc291
imsettings-libs
efc291
info
efc291
initial-setup
efc291
initscripts
efc291
iproute
efc291
iprutils
efc291
iptables
efc291
iputils
efc291
irqbalance
efc291
iscsi-initiator-utils
efc291
iscsi-initiator-utils-iscsiuio
efc291
iso-codes
efc291
isomd5sum
efc291
ivtv-firmware
efc291
iw
efc291
iwl1000-firmware
efc291
iwl100-firmware
efc291
iwl105-firmware
efc291
iwl135-firmware
efc291
iwl2000-firmware
efc291
iwl2030-firmware
efc291
iwl3160-firmware
efc291
iwl3945-firmware
efc291
iwl4965-firmware
efc291
iwl5000-firmware
efc291
iwl5150-firmware
efc291
iwl6000-firmware
efc291
iwl6000g2a-firmware
efc291
iwl6000g2b-firmware
efc291
iwl6050-firmware
efc291
iwl7260-firmware
efc291
jansson
efc291
jasper-libs
efc291
jbigkit-libs
efc291
jomolhari-fonts
efc291
js
efc291
json-c
efc291
json-glib
efc291
kbd
efc291
kbd-misc
efc291
kernel
efc291
kernel-tools
efc291
kernel-tools-libs
efc291
kexec-tools
efc291
keybinder3
efc291
keyutils-libs
efc291
khmeros-base-fonts
efc291
khmeros-fonts-common
efc291
kmod
efc291
kmod-libs
efc291
kpartx
efc291
kpatch
efc291
krb5-libs
efc291
langtable
efc291
langtable-data
efc291
langtable-python
efc291
lcms2
efc291
ldns
efc291
ledmon
efc291
less
efc291
libacl
efc291
libaio
efc291
libarchive
efc291
libart_lgpl
efc291
libassuan
efc291
libasyncns
efc291
libatasmart
efc291
libattr
efc291
libavc1394
efc291
libblkid
efc291
libbluray
efc291
libbonobo
efc291
libbonoboui
efc291
libcacard
efc291
libcanberra
efc291
libcanberra-gtk2
efc291
libcanberra-gtk3
efc291
libcap
efc291
libcap-ng
efc291
libcdio
efc291
libcdio-paranoia
efc291
libcgroup
efc291
libchewing
efc291
libcom_err
efc291
libconfig
efc291
libcroco
efc291
libcurl
efc291
libdaemon
efc291
libdb
efc291
libdb-utils
efc291
libdmapsharing
efc291
libdmx
efc291
libdrm
efc291
libdv
efc291
libdvdnav
efc291
libdvdread
efc291
libdwarf
efc291
libedit
efc291
liberation-fonts-common
efc291
liberation-mono-fonts
efc291
liberation-sans-fonts
efc291
liberation-serif-fonts
efc291
libestr
efc291
libevent
efc291
libexif
efc291
libffi
efc291
libfontenc
efc291
libfprint
efc291
libgcc
efc291
libgcrypt
efc291
libgdata
efc291
libgdither
efc291
libgee
efc291
libgee06
efc291
libglade2
efc291
libgnome
efc291
libgnomecanvas
efc291
libgnomekbd
efc291
libgnome-keyring
efc291
libgnomeui
efc291
libgomp
efc291
libgpg-error
efc291
libgphoto2
efc291
libgsf
efc291
libgtop2
efc291
libgudev1
efc291
libgusb
efc291
libgweather
efc291
libgxps
efc291
libhangul
efc291
libhbaapi
efc291
libhbalinux
efc291
libical
efc291
libICE
efc291
libicu
efc291
libIDL
efc291
libidn
efc291
libiec61883
efc291
libieee1284
efc291
libimobiledevice
efc291
libiptcdata
efc291
libiscsi
efc291
libjpeg-turbo
efc291
libldb
efc291
libmnl
efc291
libmodman
efc291
libmount
efc291
libmtp
efc291
libmusicbrainz5
efc291
libndp
efc291
libnetfilter_conntrack
efc291
libnfnetlink
efc291
libnl
efc291
libnl3
efc291
libnl3-cli
efc291
libnm-gtk
efc291
libnotify
efc291
liboauth
efc291
libogg
efc291
libosinfo
efc291
libpcap
efc291
libpciaccess
efc291
libpeas
efc291
libpipeline
efc291
libplist
efc291
libpng
efc291
libproxy
efc291
libproxy-mozjs
efc291
libpwquality
efc291
libquvi
efc291
libquvi-scripts
efc291
libraw1394
efc291
libreport
efc291
libreport-anaconda
efc291
libreport-cli
efc291
libreport-filesystem
efc291
libreport-gtk
efc291
libreport-plugin-bugzilla
efc291
libreport-plugin-mailx
efc291
libreport-plugin-reportuploader
efc291
libreport-plugin-rhtsupport
efc291
libreport-python
efc291
libreport-rhel-anaconda-bugzilla
efc291
libreport-web
efc291
libreswan
efc291
librsvg2
efc291
libsamplerate
efc291
libsecret
efc291
libselinux
efc291
libselinux-python
efc291
libselinux-utils
efc291
libsemanage
efc291
libsemanage-python
efc291
libsepol
efc291
libshout
efc291
libsigc++20
efc291
libSM
efc291
libsmbclient
efc291
libsndfile
efc291
libsoup
efc291
libspectre
efc291
libss
efc291
libssh2
efc291
libstdc++
efc291
libstoragemgmt
efc291
libstoragemgmt-python
efc291
libsysfs
efc291
libtalloc
efc291
libtar
efc291
libtasn1
efc291
libtdb
efc291
libteam
efc291
libtevent
efc291
libthai
efc291
libtheora
efc291
libtiff
efc291
libtool-ltdl
efc291
libudisks2
efc291
libunistring
efc291
libusb
efc291
libusbx
efc291
libuser
efc291
libuser-python
efc291
libutempter
efc291
libuuid
efc291
libv4l
efc291
libverto
efc291
libvisual
efc291
libvorbis
efc291
libvpx
efc291
libwacom
efc291
libwacom-data
efc291
libwbclient
efc291
libwebp
efc291
libwnck3
efc291
libX11
efc291
libX11-common
efc291
libXau
efc291
libxcb
efc291
libXcomposite
efc291
libXcursor
efc291
libXdamage
efc291
libXdmcp
efc291
libXevie
efc291
libXext
efc291
libXfixes
efc291
libXfont
efc291
libXft
efc291
libXi
efc291
libXinerama
efc291
libxkbfile
efc291
libxklavier
efc291
libxml2
efc291
libxml2-python
efc291
libXmu
efc291
libXpm
efc291
libXrandr
efc291
libXrender
efc291
libXres
efc291
libxslt
efc291
libXt
efc291
libXtst
efc291
libXv
efc291
libXvMC
efc291
libXxf86dga
efc291
libXxf86misc
efc291
libXxf86vm
efc291
libzapojit
efc291
linuxconsoletools
efc291
linux-firmware
efc291
lklug-fonts
efc291
lldpad
efc291
lm_sensors-libs
efc291
lockdev
efc291
logrotate
efc291
lohit-assamese-fonts
efc291
lohit-bengali-fonts
efc291
lohit-devanagari-fonts
efc291
lohit-gujarati-fonts
efc291
lohit-kannada-fonts
efc291
lohit-malayalam-fonts
efc291
lohit-marathi-fonts
efc291
lohit-nepali-fonts
efc291
lohit-oriya-fonts
efc291
lohit-punjabi-fonts
efc291
lohit-tamil-fonts
efc291
lohit-telugu-fonts
efc291
lsof
efc291
lua
efc291
lvm2
efc291
lvm2-libs
efc291
lzo
efc291
m17n-contrib
efc291
m17n-db
efc291
m17n-lib
efc291
m2crypto
efc291
madan-fonts
efc291
mailx
efc291
make
efc291
man-db
efc291
man-pages
efc291
man-pages-overrides
efc291
mariadb-libs
efc291
marisa
efc291
mdadm
efc291
mesa-dri-drivers
efc291
mesa-filesystem
efc291
mesa-libEGL
efc291
mesa-libgbm
efc291
mesa-libGL
efc291
mesa-libglapi
efc291
mesa-libxatracker
efc291
mesa-private-llvm
efc291
metacity
efc291
microcode_ctl
efc291
mlocate
efc291
mobile-broadband-provider-info
efc291
ModemManager-glib
efc291
mousetweaks
efc291
mozilla-filesystem
efc291
mozjs17
efc291
mtdev
efc291
mtools
efc291
mtr
efc291
mutter
efc291
nano
efc291
nautilus
efc291
nautilus-extensions
efc291
nautilus-open-terminal
efc291
nautilus-sendto
efc291
ncurses
efc291
ncurses-base
efc291
ncurses-libs
efc291
neon
efc291
net-snmp-libs
efc291
nettle
efc291
net-tools
efc291
NetworkManager
efc291
#NetworkManager-config-server
efc291
NetworkManager-glib
efc291
NetworkManager-libreswan
efc291
NetworkManager-tui
efc291
newt
efc291
newt-python
efc291
nm-connection-editor
efc291
nspr
efc291
nss
efc291
nss-softokn
efc291
nss-softokn-freebl
efc291
nss-sysinit
efc291
nss-tools
efc291
nss-util
efc291
ntpdate
efc291
ntsysv
efc291
numactl-libs
efc291
obexd
efc291
oddjob
efc291
oddjob-mkhomedir
efc291
openjpeg-libs
efc291
openldap
efc291
openssh
efc291
openssh-clients
efc291
openssh-server
efc291
openssl
efc291
openssl-libs
efc291
opus
efc291
ORBit2
efc291
orc
efc291
os-prober
efc291
overpass-fonts
efc291
p11-kit
efc291
p11-kit-trust
efc291
PackageKit
efc291
PackageKit-command-not-found
efc291
PackageKit-device-rebind
efc291
PackageKit-glib
efc291
PackageKit-gtk3-module
efc291
PackageKit-yum
efc291
pakchois
efc291
paktype-naskh-basic-fonts
efc291
pam
efc291
pango
efc291
pangomm
efc291
paratype-pt-sans-fonts
efc291
parted
efc291
passwd
efc291
patch
efc291
pciutils
efc291
pciutils-libs
efc291
pcre
efc291
pcsc-lite-libs
efc291
perl
efc291
perl-Carp
efc291
perl-constant
efc291
perl-Encode
efc291
perl-Exporter
efc291
perl-File-Path
efc291
perl-File-Temp
efc291
perl-Filter
efc291
perl-Getopt-Long
efc291
perl-HTTP-Tiny
efc291
perl-libs
efc291
perl-macros
efc291
perl-parent
efc291
perl-PathTools
efc291
perl-Pod-Escapes
efc291
perl-podlators
efc291
perl-Pod-Perldoc
efc291
perl-Pod-Simple
efc291
perl-Pod-Usage
efc291
perl-Scalar-List-Utils
efc291
perl-Socket
efc291
perl-Storable
efc291
perl-Text-ParseWords
efc291
perl-threads
efc291
perl-threads-shared
efc291
perl-Time-Local
efc291
pinentry
efc291
pinentry-gtk
efc291
pinfo
efc291
pixman
efc291
pkgconfig
efc291
plymouth
efc291
plymouth-core-libs
efc291
plymouth-graphics-libs
efc291
plymouth-plugin-label
efc291
plymouth-plugin-two-step
efc291
plymouth-scripts
efc291
plymouth-system-theme
efc291
plymouth-theme-charge
efc291
pm-utils
efc291
policycoreutils
efc291
policycoreutils-python
efc291
polkit
efc291
polkit-pkla-compat
efc291
poppler
efc291
poppler-data
efc291
poppler-glib
efc291
popt
efc291
#postfix
efc291
ppp
efc291
procps-ng
efc291
psacct
efc291
psmisc
efc291
pth
efc291
pulseaudio
efc291
pulseaudio-gdm-hooks
efc291
pulseaudio-libs
efc291
pulseaudio-libs-glib2
efc291
pulseaudio-module-bluetooth
efc291
pyatspi
efc291
pycairo
efc291
pygobject2
efc291
pygobject3
efc291
pygobject3-base
efc291
pygpgme
efc291
pygtk2
efc291
pygtk2-libglade
efc291
pykickstart
efc291
pyliblzma
efc291
pyOpenSSL
efc291
pyorbit
efc291
pyparted
efc291
pytalloc
efc291
python
efc291
python-backports
efc291
python-backports-ssl_match_hostname
efc291
python-blivet
efc291
python-caribou
efc291
python-chardet
efc291
python-configobj
efc291
python-coverage
efc291
python-dateutil
efc291
python-decorator
efc291
python-deltarpm
efc291
python-di
efc291
python-dmidecode
efc291
python-ethtool
efc291
python-gudev
efc291
python-hwdata
efc291
python-iniparse
efc291
python-IPy
efc291
python-kitchen
efc291
python-libs
efc291
python-lxml
efc291
python-meh
efc291
python-nss
efc291
python-pwquality
efc291
python-pyblock
efc291
python-pycurl
efc291
python-pyudev
efc291
python-setuptools
efc291
python-slip
efc291
python-slip-dbus
efc291
python-urlgrabber
efc291
pytz
efc291
pyxattr
efc291
qrencode-libs
efc291
quota
efc291
quota-nls
efc291
rdate
efc291
readline
efc291
realmd
efc291
centos-bookmarks
efc291
centos-indexhtml
efc291
centos-logos
efc291
redhat-menus
efc291
rest
efc291
rfkill
efc291
rng-tools
efc291
rootfiles
efc291
rpm
efc291
rpm-build-libs
efc291
rpm-libs
efc291
rpm-python
efc291
rsync
efc291
rsyslog
efc291
rsyslog-mmjsonparse
efc291
rtkit
efc291
samba-common
efc291
samba-libs
efc291
satyr
efc291
sbc
efc291
scl-utils
efc291
SDL
efc291
seahorse
efc291
sed
efc291
selinux-policy
efc291
selinux-policy-targeted
efc291
setools-libs
efc291
setroubleshoot
efc291
setroubleshoot-plugins
efc291
setroubleshoot-server
efc291
setserial
efc291
setup
efc291
setuptool
efc291
sg3_utils-libs
efc291
sgpio
efc291
shadow-utils
efc291
shared-mime-info
efc291
sil-abyssinica-fonts
efc291
sil-nuosu-fonts
efc291
sil-padauk-fonts
efc291
slang
efc291
smartmontools
efc291
smc-fonts-common
efc291
smc-meera-fonts
efc291
snappy
efc291
sos
efc291
sound-theme-freedesktop
efc291
soundtouch
efc291
speex
efc291
spice-glib
efc291
spice-gtk3
efc291
spice-vdagent
efc291
sqlite
efc291
sssd-client
efc291
startup-notification
efc291
stix-fonts
efc291
strace
efc291
sudo
efc291
sushi
efc291
syslinux
efc291
sysstat
efc291
system-config-keyboard
efc291
system-config-keyboard-base
efc291
systemd
efc291
systemd-libs
efc291
systemd-python
efc291
systemd-sysv
efc291
systemtap-runtime
efc291
sysvinit-tools
efc291
taglib
efc291
tar
efc291
tcpdump
efc291
tcp_wrappers
efc291
tcp_wrappers-libs
efc291
tcsh
efc291
teamd
efc291
telepathy-filesystem
efc291
telepathy-glib
efc291
telepathy-logger
efc291
thai-scalable-fonts-common
efc291
thai-scalable-waree-fonts
efc291
tigervnc-license
efc291
tigervnc-server-minimal
efc291
time
efc291
totem
efc291
totem-nautilus
efc291
totem-pl-parser
efc291
traceroute
efc291
tracker
efc291
tuned
efc291
tzdata
efc291
ucs-miscfixed-fonts
efc291
udisks2
efc291
unbound-libs
efc291
unzip
efc291
upower
efc291
urw-fonts
efc291
usb_modeswitch
efc291
usb_modeswitch-data
efc291
usbmuxd
efc291
usbredir
efc291
usbutils
efc291
usermode
efc291
usermode-gtk
efc291
ustr
efc291
util-linux
efc291
vim-common
efc291
vim-enhanced
efc291
vim-filesystem
efc291
vim-minimal
efc291
vinagre
efc291
vino
efc291
virt-what
efc291
vlgothic-fonts
efc291
vte3
efc291
wavpack
efc291
webkitgtk3
efc291
webrtc-audio-processing
efc291
wget
efc291
which
efc291
words
efc291
wpa_supplicant
efc291
wqy-microhei-fonts
efc291
xcb-util
efc291
xdg-user-dirs
efc291
xdg-user-dirs-gtk
efc291
xdg-utils
efc291
xfsdump
efc291
xfsprogs
efc291
xkeyboard-config
efc291
xml-common
efc291
xmlrpc-c
efc291
xmlrpc-c-client
efc291
xorg-x11-drivers
efc291
xorg-x11-drv-ati
efc291
xorg-x11-drv-dummy
efc291
xorg-x11-drv-evdev
efc291
xorg-x11-drv-fbdev
efc291
xorg-x11-drv-intel
efc291
xorg-x11-drv-modesetting
efc291
xorg-x11-drv-nouveau
efc291
xorg-x11-drv-qxl
efc291
xorg-x11-drv-synaptics
efc291
xorg-x11-drv-v4l
efc291
xorg-x11-drv-vesa
efc291
xorg-x11-drv-vmmouse
efc291
xorg-x11-drv-vmware
efc291
xorg-x11-drv-void
efc291
xorg-x11-drv-wacom
efc291
xorg-x11-font-utils
efc291
xorg-x11-glamor
efc291
xorg-x11-server-common
efc291
xorg-x11-server-utils
efc291
xorg-x11-server-Xorg
efc291
xorg-x11-utils
efc291
xorg-x11-xauth
efc291
xorg-x11-xinit
efc291
xorg-x11-xkb-utils
efc291
xvattr
efc291
xz
efc291
xz-libs
efc291
yajl
efc291
yelp
efc291
yelp-libs
efc291
yelp-xsl
efc291
yum
efc291
yum-langpacks
efc291
yum-metadata-parser
efc291
yum-utils
efc291
zenity
efc291
zip
efc291
zlib
efc291
efc291
# For UEFI/Secureboot support
efc291
#grub2
efc291
#grub2-efi
efc291
#efibootmgr
efc291
#shim
efc291
efc291
efc291
efc291
%end
efc291
efc291
%post
efc291
# FIXME: it'd be better to get this installed from a package
efc291
cat > /etc/rc.d/init.d/livesys << EOF
efc291
#!/bin/bash
efc291
#
efc291
# live: Init script for live image
efc291
#
efc291
# chkconfig: 345 00 99
efc291
# description: Init script for live image.
efc291
### BEGIN INIT INFO
efc291
# X-Start-Before: display-manager
efc291
### END INIT INFO
efc291
efc291
. /etc/init.d/functions
efc291
efc291
if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ]; then
efc291
    exit 0
efc291
fi
efc291
efc291
if [ -e /.liveimg-configured ] ; then
efc291
    configdone=1
efc291
fi
efc291
efc291
exists() {
efc291
    which \$1 >/dev/null 2>&1 || return
efc291
    \$*
efc291
}
efc291
efc291
# Make sure we don't mangle the hardware clock on shutdown
efc291
ln -sf /dev/null /etc/systemd/system/hwclock-save.service
efc291
efc291
livedir="LiveOS"
efc291
for arg in \`cat /proc/cmdline\` ; do
efc291
  if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
efc291
    livedir=\${arg##rd.live.dir=}
efc291
    return
efc291
  fi
efc291
  if [ "\${arg##live_dir=}" != "\${arg}" ]; then
efc291
    livedir=\${arg##live_dir=}
efc291
    return
efc291
  fi
efc291
done
efc291
efc291
# enable swaps unless requested otherwise
efc291
swaps=\`blkid -t TYPE=swap -o device\`
efc291
if ! strstr "\`cat /proc/cmdline\`" noswap && [ -n "\$swaps" ] ; then
efc291
  for s in \$swaps ; do
efc291
    action "Enabling swap partition \$s" swapon \$s
efc291
  done
efc291
fi
efc291
if ! strstr "\`cat /proc/cmdline\`" noswap && [ -f /run/initramfs/live/\${livedir}/swap.img ] ; then
efc291
  action "Enabling swap file" swapon /run/initramfs/live/\${livedir}/swap.img
efc291
fi
efc291
efc291
mountPersistentHome() {
efc291
  # support label/uuid
efc291
  if [ "\${homedev##LABEL=}" != "\${homedev}" -o "\${homedev##UUID=}" != "\${homedev}" ]; then
efc291
    homedev=\`/sbin/blkid -o device -t "\$homedev"\`
efc291
  fi
efc291
efc291
  # if we're given a file rather than a blockdev, loopback it
efc291
  if [ "\${homedev##mtd}" != "\${homedev}" ]; then
efc291
    # mtd devs don't have a block device but get magic-mounted with -t jffs2
efc291
    mountopts="-t jffs2"
efc291
  elif [ ! -b "\$homedev" ]; then
efc291
    loopdev=\`losetup -f\`
efc291
    if [ "\${homedev##/run/initramfs/live}" != "\${homedev}" ]; then
efc291
      action "Remounting live store r/w" mount -o remount,rw /run/initramfs/live
efc291
    fi
efc291
    losetup \$loopdev \$homedev
efc291
    homedev=\$loopdev
efc291
  fi
efc291
efc291
  # if it's encrypted, we need to unlock it
efc291
  if [ "\$(/sbin/blkid -s TYPE -o value \$homedev 2>/dev/null)" = "crypto_LUKS" ]; then
efc291
    echo
efc291
    echo "Setting up encrypted /home device"
efc291
    plymouth ask-for-password --command="cryptsetup luksOpen \$homedev EncHome"
efc291
    homedev=/dev/mapper/EncHome
efc291
  fi
efc291
efc291
  # and finally do the mount
efc291
  mount \$mountopts \$homedev /home
efc291
  # if we have /home under what's passed for persistent home, then
efc291
  # we should make that the real /home.  useful for mtd device on olpc
efc291
  if [ -d /home/home ]; then mount --bind /home/home /home ; fi
efc291
  [ -x /sbin/restorecon ] && /sbin/restorecon /home
efc291
  if [ -d /home/liveuser ]; then USERADDARGS="-M" ; fi
efc291
}
efc291
efc291
findPersistentHome() {
efc291
  for arg in \`cat /proc/cmdline\` ; do
efc291
    if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
efc291
      homedev=\${arg##persistenthome=}
efc291
      return
efc291
    fi
efc291
  done
efc291
}
efc291
efc291
if strstr "\`cat /proc/cmdline\`" persistenthome= ; then
efc291
  findPersistentHome
efc291
elif [ -e /run/initramfs/live/\${livedir}/home.img ]; then
efc291
  homedev=/run/initramfs/live/\${livedir}/home.img
efc291
fi
efc291
efc291
# if we have a persistent /home, then we want to go ahead and mount it
efc291
if ! strstr "\`cat /proc/cmdline\`" nopersistenthome && [ -n "\$homedev" ] ; then
efc291
  action "Mounting persistent /home" mountPersistentHome
efc291
fi
efc291
efc291
# make it so that we don't do writing to the overlay for things which
efc291
# are just tmpdirs/caches
efc291
mount -t tmpfs -o mode=0755 varcacheyum /var/cache/yum
efc291
mount -t tmpfs vartmp /var/tmp
efc291
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /var/tmp >/dev/null 2>&1
efc291
efc291
if [ -n "\$configdone" ]; then
efc291
  exit 0
efc291
fi
efc291
efc291
# add fedora user with no passwd
efc291
action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
efc291
passwd -d liveuser > /dev/null
efc291
usermod -aG wheel liveuser > /dev/null
efc291
efc291
# Remove root password lock
efc291
passwd -d root > /dev/null
efc291
efc291
# turn off firstboot for livecd boots
efc291
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
efc291
systemctl --no-reload disable firstboot-graphical.service 2> /dev/null || :
efc291
systemctl stop firstboot-text.service 2> /dev/null || :
efc291
systemctl stop firstboot-graphical.service 2> /dev/null || :
efc291
efc291
# don't use prelink on a running live image
efc291
sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null || :
efc291
efc291
# turn off mdmonitor by default
efc291
systemctl --no-reload disable mdmonitor.service 2> /dev/null || :
efc291
systemctl --no-reload disable mdmonitor-takeover.service 2> /dev/null || :
efc291
systemctl stop mdmonitor.service 2> /dev/null || :
efc291
systemctl stop mdmonitor-takeover.service 2> /dev/null || :
efc291
efc291
# don't enable the gnome-settings-daemon packagekit plugin
efc291
gsettings set org.gnome.settings-daemon.plugins.updates active 'false' || :
efc291
efc291
# Disable logout-prompt - https://bugs.centos.org/view.php?id=8834
efc291
gsettings get org.gnome.SessionManager logout-prompt 'false' || :
efc291
efc291
# don't start cron/at as they tend to spawn things which are
efc291
# disk intensive that are painful on a live image
efc291
systemctl --no-reload disable crond.service 2> /dev/null || :
efc291
systemctl --no-reload disable atd.service 2> /dev/null || :
efc291
systemctl stop crond.service 2> /dev/null || :
efc291
systemctl stop atd.service 2> /dev/null || :
efc291
efc291
# Mark things as configured
efc291
touch /.liveimg-configured
efc291
efc291
# add static hostname to work around xauth bug
efc291
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
efc291
echo "localhost" > /etc/hostname
efc291
efc291
# Fixing the lang install issue when other lang than English is selected . See http://bugs.centos.org/view.php?id=7217
efc291
/usr/bin/cp /usr/lib/python2.7/site-packages/blivet/size.py /usr/lib/python2.7/site-packages/blivet/size.py.orig
efc291
/usr/bin/sed -i "s#return self.humanReadable()#return self.humanReadable().encode('utf-8')#g" /usr/lib/python2.7/site-packages/blivet/size.py
efc291
efc291
EOF
efc291
efc291
# Fixing the logout-prompt issue - https://bugs.centos.org/view.php?id=8834
efc291
cat > /etc/xdg/autostart/gsettings-logout-prompt.desktop << EOF
efc291
[Desktop Entry]
efc291
Version=1.0
efc291
Name=GSettings Logout Prompt workaround
efc291
Comment=Workaround to not display the logout-prompt - https://bugs.centos.org/view.php?id=8834
efc291
Exec=gsettings set org.gnome.SessionManager logout-prompt false
efc291
Terminal=false
efc291
Type=Application
efc291
OnlyShowIn=GNOME;Unity;
efc291
X-GNOME-Autostart-Phase=Initialization
efc291
efc291
EOF
efc291
efc291
# Patching livepayload too https://bugzilla.redhat.com/show_bug.cgi?id=1100504
efc291
cat > /tmp/livepayload.patch <
efc291
--- /usr/lib/python2.7/site-packages/pyanaconda/packaging/livepayload.py.orig	
efc291
+++ /usr/lib/python2.7/site-packages/pyanaconda/packaging/livepayload.py
efc291
@@ -152,6 +152,13 @@
efc291
             self.pct = 100
efc291
         threadMgr.wait(THREAD_LIVE_PROGRESS)
efc291
 
efc291
+        # Live needs to create the rescue image before bootloader is written
efc291
+        for kernel in self.kernelVersionList:
efc291
+            log.info("Generating rescue image for %s", kernel)
efc291
+            iutil.execInSysroot("new-kernel-pkg",
efc291
+                                ["--rpmposttrans", kernel])
efc291
+
efc291
+
efc291
     def postInstall(self):
efc291
         """ Perform post-installation tasks. """
efc291
         progressQ.send_message(_("Performing post-installation setup tasks"))
efc291
@@ -159,12 +166,6 @@
efc291
 
efc291
         super(LiveImagePayload, self).postInstall()
efc291
 
efc291
-        # Live needs to create the rescue image before bootloader is written
efc291
-        for kernel in self.kernelVersionList:
efc291
-            log.info("Generating rescue image for %s", kernel)
efc291
-            iutil.execInSysroot("new-kernel-pkg",
efc291
-                                ["--rpmposttrans", kernel])
efc291
-
efc291
         # Make sure the new system has a machine-id, it won't boot without it
efc291
         if not os.path.exists(iutil.getSysroot()+"/etc/machine-id"):
efc291
             iutil.execInSysroot("systemd-machine-id-setup", [])
efc291
efc291
EOF
efc291
efc291
patch -p0 /usr/lib/python2.7/site-packages/pyanaconda/packaging/livepayload.py /tmp/livepayload.patch 
efc291
efc291
# bah, hal starts way too late
efc291
cat > /etc/rc.d/init.d/livesys-late << EOF
efc291
#!/bin/bash
efc291
#
efc291
# live: Late init script for live image
efc291
#
efc291
# chkconfig: 345 99 01
efc291
# description: Late init script for live image.
efc291
efc291
. /etc/init.d/functions
efc291
efc291
if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then
efc291
    exit 0
efc291
fi
efc291
efc291
exists() {
efc291
    which \$1 >/dev/null 2>&1 || return
efc291
    \$*
efc291
}
efc291
efc291
touch /.liveimg-late-configured
efc291
efc291
# read some variables out of /proc/cmdline
efc291
for o in \`cat /proc/cmdline\` ; do
efc291
    case \$o in
efc291
    ks=*)
efc291
        ks="--kickstart=\${o#ks=}"
efc291
        ;;
efc291
    xdriver=*)
efc291
        xdriver="\${o#xdriver=}"
efc291
        ;;
efc291
    esac
efc291
done
efc291
efc291
# if liveinst or textinst is given, start anaconda
efc291
if strstr "\`cat /proc/cmdline\`" liveinst ; then
efc291
   plymouth --quit
efc291
   /usr/sbin/liveinst \$ks
efc291
fi
efc291
if strstr "\`cat /proc/cmdline\`" textinst ; then
efc291
   plymouth --quit
efc291
   /usr/sbin/liveinst --text \$ks
efc291
fi
efc291
efc291
# configure X, allowing user to override xdriver
efc291
if [ -n "\$xdriver" ]; then
efc291
   cat > /etc/X11/xorg.conf.d/00-xdriver.conf <
efc291
Section "Device"
efc291
	Identifier	"Videocard0"
efc291
	Driver	"\$xdriver"
efc291
EndSection
efc291
FOE
efc291
fi
efc291
efc291
EOF
efc291
efc291
chmod 755 /etc/rc.d/init.d/livesys
efc291
/sbin/restorecon /etc/rc.d/init.d/livesys
efc291
/sbin/chkconfig --add livesys
efc291
efc291
chmod 755 /etc/rc.d/init.d/livesys-late
efc291
/sbin/restorecon /etc/rc.d/init.d/livesys-late
efc291
/sbin/chkconfig --add livesys-late
efc291
efc291
# enable tmpfs for /tmp
efc291
systemctl enable tmp.mount
efc291
efc291
# work around for poor key import UI in PackageKit
efc291
rm -f /var/lib/rpm/__db*
efc291
releasever=$(rpm -q --qf '%{version}\n' --whatprovides system-release)
efc291
basearch=$(uname -i)
efc291
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
efc291
echo "Packages within this LiveCD"
efc291
rpm -qa
efc291
# Note that running rpm recreates the rpm db files which aren't needed or wanted
efc291
rm -f /var/lib/rpm/__db*
efc291
efc291
# go ahead and pre-make the man -k cache (#455968)
efc291
/usr/bin/mandb
efc291
efc291
# save a little bit of space at least...
efc291
rm -f /boot/initramfs*
efc291
# make sure there aren't core files lying around
efc291
rm -f /core*
efc291
efc291
# convince readahead not to collect
efc291
# FIXME: for systemd
efc291
efc291
cat >> /etc/rc.d/init.d/livesys << EOF
efc291
efc291
efc291
# disable updates plugin
efc291
cat >> /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.override << FOE
efc291
[org.gnome.settings-daemon.plugins.updates]
efc291
active=false
efc291
FOE
efc291
efc291
# Show the system-config-keyboard tool on the desktop
efc291
mkdir /home/liveuser/Desktop -p >/dev/null
efc291
cat /usr/share/applications/system-config-keyboard.desktop | sed '/NotShowIn/d' |sed 's/Terminal=false/Terminal=true/' > /home/liveuser/Desktop/system-config-keyboard.desktop
efc291
cat /usr/share/applications/liveinst.desktop | sed '/NoDisplay/d' > /home/liveuser/Desktop/liveinst.desktop 
efc291
chmod +x /home/liveuser/Desktop/*.desktop
efc291
chown -R liveuser:liveuser /home/liveuser
efc291
efc291
# Liveuser face
efc291
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
efc291
    cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/liveuser/.face
efc291
    chown liveuser:liveuser /home/liveuser/.face
efc291
fi
efc291
efc291
# make the installer show up
efc291
if [ -f /usr/share/applications/liveinst.desktop ]; then
efc291
  # Show harddisk install in shell dash
efc291
  sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop 
efc291
  # need to move it to anaconda.desktop to make shell happy
efc291
  #cp /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
efc291
fi
efc291
  cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
efc291
[org.gnome.shell]
efc291
favorite-apps=['liveinst.desktop','firefox.desktop', 'evolution.desktop', 'empathy.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'libreoffice-writer.desktop', 'nautilus.desktop', 'gnome-documents.desktop', 'anaconda.desktop']
efc291
FOE
efc291
efc291
efc291
# set up auto-login
efc291
cat > /etc/gdm/custom.conf << FOE
efc291
[daemon]
efc291
AutomaticLoginEnable=True
efc291
AutomaticLogin=liveuser
efc291
FOE
efc291
efc291
# Turn off PackageKit-command-not-found while uninstalled
efc291
if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
efc291
  sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
efc291
fi
efc291
efc291
# make sure to set the right permissions and selinux contexts
efc291
chown -R liveuser:liveuser /home/liveuser/
efc291
restorecon -R /home/liveuser/
efc291
efc291
# Fixing default locale to us
efc291
localectl set-keymap us
efc291
localectl set-x11-keymap us
efc291
EOF
efc291
efc291
# rebuild schema cache with any overrides we installed
efc291
glib-compile-schemas /usr/share/glib-2.0/schemas
efc291
efc291
efc291
%end