# Generated by pykickstart v3.34 #version=DEVEL # X Window System configuration information xconfig --startxonboot # Keyboard layouts keyboard 'us' # Root password rootpw --iscrypted --lock locked # System language lang en_US.UTF-8 # Shutdown after installation shutdown # Network information network --bootproto=dhcp --device=link --activate # Firewall configuration firewall --enabled --service=mdns # System timezone timezone US/Eastern # SELinux configuration selinux --enforcing # System services services --disabled="sshd" --enabled="NetworkManager,ModemManager" # System bootloader configuration bootloader --location=none # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all # Disk partitioning information part / --fstype="ext4" --size=10120 # Repos repo --name=fedora --baseurl=http://img.cs.montana.edu/linux/fedora/releases/35/Everything/x86_64/os/ repo --name=fedora-updates --baseurl=http://img.cs.montana.edu/linux/fedora/updates/35/Everything/x86_64/ repo --name=local --baseurl=http://img.cs.montana.edu/linux/fedora/local/35/x86_64/ repo --name=rpmfusion-free --baseurl=http://img.cs.montana.edu/linux/rpmfusion/free/fedora/releases/35/Everything/x86_64/os/ repo --name=rpmfusion-nonfree --baseurl=http://img.cs.montana.edu/linux/rpmfusion/nonfree/fedora/releases/35/Everything/x86_64/os/ repo --name=rpmfusion-free-updates --baseurl=http://img.cs.montana.edu/linux/rpmfusion/free/fedora/updates/35/x86_64/ repo --name=rpmfusion-nonfree-updates --baseurl=http://img.cs.montana.edu/linux/rpmfusion/nonfree/fedora/updates/35/x86_64/ url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch # Packages # rpm -qa --qf "%{n}\n" | grep -v pubkey | sort > package-list.txt %packages aajohan-comfortaa-fonts aalib-libs abattis-cantarell-fonts acl adcli adobe-mappings-cmap adobe-mappings-cmap-deprecated adobe-mappings-pdf adobe-source-han-serif-cn-fonts adobe-source-han-serif-tw-fonts adwaita-cursor-theme adwaita-icon-theme alsa-lib alsa-plugins-pulseaudio alsa-ucm alsa-utils anaconda anaconda-core anaconda-gui anaconda-install-env-deps anaconda-live anaconda-tui anaconda-user-help anaconda-widgets appstream appstream-data appstream-qt ark ark-libs aspell at atk atkmm atlas atmel-firmware at-spi2-atk at-spi2-core attr audit audit-libs augeas-libs authselect authselect-libs autocorr-en avahi avahi-glib avahi-libs b43-fwcutter b43-openfwwf babl basesystem bash bash-completion bc bcache-tools bind-libs bind-libs-lite bind-license bind-utils binutils blivet-data blivet-gui-runtime bluez bluez-cups bluez-libs boost-chrono boost-date-time boost-filesystem boost-iostreams boost-locale boost-system boost-thread breeze-cursor-theme breeze-gtk breeze-icon-theme bridge-utils brotli btrfs-progs bzip2 bzip2-libs ca-certificates cairo cairo-gobject cairomm c-ares cdparanoia-libs chkconfig chrony cifs-utils clang-libs clucene-contribs-lib clucene-core cmake-filesystem colord colord-libs color-filesystem compat-lua-libs compiler-rt comps-extras copy-jdk-configs coreutils coreutils-common cpio cpp cracklib cracklib-dicts crda createrepo_c createrepo_c-libs cronie cronie-anacron crontabs crypto-policies cryptsetup cryptsetup-libs cups cups-client cups-filesystem cups-filters cups-filters-libs cups-libs cups-pk-helper curl cyrus-sasl-gssapi cyrus-sasl-lib cyrus-sasl-plain dbus dbus-glib dbus-libs dbusmenu-qt5 dbus-x11 dbxtool dconf dcraw dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts deltarpm desktop-backgrounds-compat desktop-file-utils device-mapper device-mapper-event device-mapper-event-libs device-mapper-libs device-mapper-multipath device-mapper-multipath-libs device-mapper-persistent-data dhcp-client dhcp-common dhcp-libs diffutils dmidecode dmraid dmraid-events dnf dnf-conf dnf-plugins-core dnf-yum dnsmasq docbook-dtds docbook-style-xsl dos2unix dosfstools dotconf dracut dracut-config-rescue dracut-live dracut-network drpm dumpet ebtables ed efibootmgr efivar efivar-libs elfutils-default-yama-scope elfutils-libelf elfutils-libs elinks emacs-filesystem enca enchant esmtp espeak ethtool exfat-utils expat faad2-libs falkon falkon-kwallet fcoe-utils fdk-aac fedora-gpg-keys fedora-logos fedora-release fedora-repos ffmpeg ffmpeg-libs ffmpegthumbnailer ffmpegthumbs fftw-libs-double file file-libs filesystem findutils fipscheck firefox firewall-config firewalld firewalld-filesystem flac-libs fontconfig fontpackages-filesystem foomatic foomatic-db foomatic-db-filesystem foomatic-db-ppds fpaste fprintd fprintd-pam freeglut freetype freetype-freeworld fribidi fros fuse fuse-common fuse-exfat fuse-libs #gamin gawk gc gcc gcc-gdb-plugin GConf2 gcr gdb gdb-headless gdbm gdbm-libs gdisk gdk-pixbuf2 gdk-pixbuf2-modules gdk-pixbuf2-xlib genisoimage geoclue2 GeoIP GeoIP-GeoLite-data gettext gettext-libs gfs2-utils ghostscript giflib gimp gimp-libs glade-libs glib2 glibc glibc-all-langpacks glibc-common glibc-devel glibc-headers glibc-langpack-en glibmm24 glib-networking glx-utils gmp gnome-icon-theme gnome-keyring gnome-vfs2 gnome-vfs2-common gnu-free-fonts-common gnu-free-mono-fonts gnu-free-sans-fonts gnu-free-serif-fonts gnupg2 gnupg2-smime gnustep-base-libs gnutls gobject-introspection google-chrome-stable google-crosextra-caladea-fonts google-crosextra-carlito-fonts google-droid-sans-fonts google-noto-emoji-color-fonts google-noto-emoji-fonts google-noto-fonts-common google-noto-sans-lisu-fonts google-noto-sans-mandaic-fonts google-noto-sans-meetei-mayek-fonts google-noto-sans-sinhala-fonts google-noto-sans-tagalog-fonts google-noto-sans-tai-tham-fonts google-noto-sans-tai-viet-fonts gparted gpgme gpgmepp gpm gpm-libs graphite2 grep groff-base grub2-common grub2-efi-ia32 grub2-efi-ia32-cdboot grub2-efi-x64 grub2-efi-x64-cdboot grub2-pc grub2-pc-modules grub2-tools grub2-tools-efi grub2-tools-extra grub2-tools-minimal grubby gsettings-desktop-schemas gsl gsm gssdp gssproxy gstreamer1 gstreamer1-libav gstreamer1-plugins-bad-free gstreamer1-plugins-bad-freeworld gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-good-gtk gstreamer1-plugins-ugly gstreamer1-plugins-ugly-free gtk2 gtk2-engines gtk3 gtkmm24 gtkmm30 gtk-update-icon-cache guile gupnp gupnp-igd gutenprint gutenprint-cups gutenprint-libs gvfs gvfs-client gzip hardlink harfbuzz harfbuzz-icu hfsplus-tools hicolor-icon-theme hostname http-parser hunspell hunspell-en-US hwdata hwloc-libs hyperv-daemons hyperv-daemons-license hypervfcopyd hypervkvpd hypervvssd hyphen hyphen-en ilmbase ima-evm-utils ImageMagick-c++ ImageMagick-libs imlib2 info initial-setup initial-setup-gui initscripts inkscape ipcalc iproute iproute-tc ipset ipset-libs iptables iptables-libs iptstate iputils ipw2100-firmware ipw2200-firmware irqbalance iscsi-initiator-utils iscsi-initiator-utils-iscsiuio isl isns-utils-libs iso-codes isomd5sum iw iwl1000-firmware iwl100-firmware iwl105-firmware iwl135-firmware iwl2000-firmware iwl2030-firmware iwl3160-firmware iwl3945-firmware iwl4965-firmware iwl5000-firmware iwl5150-firmware iwl6000-firmware iwl6000g2a-firmware iwl6000g2b-firmware iwl6050-firmware iwl7260-firmware jack-audio-connection-kit jansson jasper-libs java-1.8.0-openjdk-headless javapackages-tools jbig2dec-libs jbigkit-libs jimtcl jomolhari-fonts js-jquery json-c json-glib julietaula-montserrat-fonts jwhois kbd kbd-legacy kbd-misc kdecoration kde-filesystem kde-settings kernel kernel-core kernel-headers kernel-modules kernel-modules-extra kexec-tools kexec-tools-anaconda-addon keybinder3 keyutils keyutils-libs kf5-attica kf5-filesystem kf5-frameworkintegration kf5-frameworkintegration-libs kf5-kactivities-libs kf5-karchive kf5-kauth kf5-kbookmarks kf5-kcmutils kf5-kcodecs kf5-kcompletion kf5-kconfig-core kf5-kconfig-gui kf5-kconfigwidgets kf5-kcoreaddons kf5-kcrash kf5-kdbusaddons kf5-kdeclarative kf5-kdoctools kf5-kglobalaccel kf5-kglobalaccel-libs kf5-kguiaddons kf5-ki18n kf5-kiconthemes kf5-kidletime kf5-kinit kf5-kio-core kf5-kio-core-libs kf5-kio-doc kf5-kio-file-widgets kf5-kio-ntlm kf5-kio-widgets kf5-kio-widgets-libs kf5-kitemmodels kf5-kitemviews kf5-kjobwidgets kf5-knewstuff kf5-knotifications kf5-kpackage kf5-kparts kf5-kpty kf5-kservice kf5-ktextwidgets kf5-kwallet kf5-kwallet-libs kf5-kwayland kf5-kwidgetsaddons kf5-kwindowsystem kf5-kxmlgui kf5-networkmanager-qt kf5-plasma kf5-solid kf5-solid-libs kf5-sonnet-core kf5-sonnet-ui khmeros-base-fonts kmod kmod-libs kpartx krb5-libs kscreenlocker kwin kwin-common kwin-libs ladspa lame-libs langtable lcms2 less liba52 libabw libacl libaio libao libappindicator-gtk3 libappstream-glib libarchive libargon2 libart_lgpl libass libassuan libasyncns libatasmart libatomic_ops libattr libavc1394 libavdevice libbabeltrace libbasicobjects libblkid libblockdev libblockdev-btrfs libblockdev-crypto libblockdev-dm libblockdev-fs libblockdev-kbd libblockdev-loop libblockdev-lvm libblockdev-mdraid libblockdev-mpath libblockdev-part libblockdev-plugins-all libblockdev-swap libblockdev-utils libbluray libbs2b libbytesize libcaca libcanberra libcanberra-gtk3 libcap libcap-ng libcdio libcdio-paranoia libclc libcmis libcollection libcomps libconfig libcurl libdaemon libdatrie libdb libdbusmenu libdbusmenu-gtk3 libdb-utils libdc1394 libdca libde265 libdhash libdmx libdnet libdnf libdrm libdv libdvdcss libdvdnav libdvdread libe-book libedit libeot libepoxy libepubgen liberation-fonts-common liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts libertas-usb8388-firmware libesmtp libestr libetonyek libev libevdev libevent libexif libexttextcat libfastjson libfdisk libffado libffi libfm libfm-qt libfontenc libfprint libgcab1 libgcc libgcrypt libgfortran libglade2 libglvnd libglvnd-egl libglvnd-gles libglvnd-glx libgnomekbd libgomp libgpg-error libgs libgudev libgusb libICE libicu libidn libidn2 libiec61883 libijs libimagequant libimobiledevice libindicator-gtk3 libini_config libinput libipa_hbac libipt libjpeg-turbo libkcapi libkcapi-hmaccalc libksba libkscreen-qt5 liblangtag liblangtag-data libldb liblockfile liblogging-stdlog liblxqt libmad libmbim libmbim-utils libmcpp libmetalink libmfx libmms libmng libmnl libmodman libmodulemd libmount libmpc libmpcdec libmpeg2 libmspack libmwaw libnatpmp libndp libnetfilter_conntrack libnfnetlink libnfsidmap libnghttp2 libnice libnl3 libnl3-cli libnma libnotify libnsl2 libobjc libodfgen libogg libomp libopenraw liborcus libpaper libpath_utils libpcap libpciaccess libpipeline libpkgconf libplist libpng libproxy libpsl libpwquality libqmi libqmi-utils libqtxdg libquadmath librados2 libraw1394 libref_array libreoffice-calc libreoffice-core libreoffice-data libreoffice-gtk3 libreoffice-help-en libreoffice-impress libreoffice-langpack-en libreoffice-opensymbol-fonts libreoffice-pyuno libreoffice-ure libreoffice-ure-common libreoffice-writer libreoffice-x11 librepo libreport libreport-anaconda libreport-cli libreport-filesystem libreport-gtk libreport-plugin-bugzilla libreport-plugin-reportuploader libreport-web librevenge librsvg2 librtmp libsamplerate libseccomp libsecret libselinux libselinux-utils libsemanage libsepol libshout libsigc++20 libsigsegv libSM libsmartcols libsmbclient libsndfile libsolv libsoup libspiro libsrtp libssh libssh2 libsss_autofs libsss_certmap libsss_idmap libsss_nss_idmap libsss_sudo libstaroffice libstatgrab libstdc++ libstdc++-devel libstemmer libsysfs libsysstat libtalloc libtar libtasn1 libtdb libteam libtevent libthai libtheora libtiff libtimezonemap libtirpc libtool-ltdl libudisks2 libunistring libunwind libusal libusb libusbmuxd libusbx libuser libutempter libuuid libv4l libva libvdpau libverto libverto-libev libvisual libvorbis libvpx libwacom libwacom-data libwayland-client libwayland-cursor libwayland-egl libwayland-server libwbclient libwebp libwmf libwmf-lite libwpd libwpg libwps libwvstreams libX11 libX11-common libX11-xcb libXau libxcb libXcomposite libxcrypt libxcrypt-devel libXcursor libXdamage libXdmcp libXext libXfixes libXfont2 libXft libXi libXinerama libxkbcommon libxkbcommon-x11 libxkbfile libxklavier libxml++ libxml2 libXmu libXpm libXrandr libXrender libXScrnSaver libxshmfence libxslt libXt libXtst libXv libXvMC libXxf86dga libXxf86misc libXxf86vm libyaml libyui libyui-gtk libyui-ncurses libyui-qt libzstd linux-atm linux-atm-libs linux-firmware lirc-libs live555 livecd-iso-to-mediums livecd-tools lksctp-tools lldpad #llvm5.0-libs llvm-libs lmdb-libs lm_sensors-libs lockdev log4cplus logrotate lohit-assamese-fonts lohit-bengali-fonts lohit-devanagari-fonts lohit-gujarati-fonts lohit-gurmukhi-fonts lohit-kannada-fonts lohit-odia-fonts lohit-tamil-fonts lohit-telugu-fonts lorax lorax-templates-generic lpsolve lrzsz lshw lsof lttng-ust lua lua-libs lua-posix lvm2 lvm2-libs lximage-qt lxmenu-data lxqt-about lxqt-admin lxqt-common lxqt-config lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session lxqt-sudo #lxqt-theme-fedora lz4 lz4-libs lzo m4 mactel-boot mailcap mailx make man-db man-pages mc mcelog mcpp mdadm media-player-info memtest86+ mencoder menu-cache mesa-dri-drivers mesa-filesystem mesa-libEGL mesa-libgbm mesa-libGL mesa-libglapi mesa-libGLU mesa-libOpenCL mesa-libxatracker mesa-vulkan-drivers microcode_ctl minicom minizip mjpegtools-libs mlocate mobile-broadband-provider-info ModemManager ModemManager-glib mokutil mozilla-filesystem mpfr mpg123-libs mplayer mplayer-common mplayer-gui mpv mtdev mtools mtr muParser mythes mythes-en nano ncurses ncurses-base ncurses-compat-libs ncurses-libs neon nettle net-tools NetworkManager NetworkManager-adsl network-manager-applet NetworkManager-bluetooth NetworkManager-libnm NetworkManager-team NetworkManager-wifi NetworkManager-wwan newt nfs-utils nmap-ncat nm-connection-editor notification-daemon npth nspr nss nss-mdns nss-softokn nss-softokn-freebl nss-sysinit nss-tools nss-util ntfs-3g ntfsprogs numactl-libs obconf obconf-qt ocl-icd openal-soft openblas openblas-serial openblas-threads openbox openbox-libs openbox-theme-mistral-thin opencl-filesystem opencore-amr OpenEXR-libs openjpeg2 openjpeg-libs openldap openssh openssh-clients openssh-server openssl openssl-libs openssl-pkcs11 open-vm-tools open-vm-tools-desktop opus orc os-prober oxygen-cursor-themes oxygen-icon-theme p11-kit p11-kit-trust p7zip-plugins PackageKit PackageKit-glib PackageKit-gstreamer-plugin PackageKit-Qt5 pakchois paktype-naskh-basic-fonts pam pango pangomm paps parted passwd passwdqc passwdqc-lib patch pavucontrol pavucontrol-qt pciutils pciutils-libs pcmanfm-qt pcre pcre2 pcre2-utf16 perl-Carp perl-constant perl-Data-Dumper perl-Digest perl-Digest-MD5 perl-Encode perl-Errno perl-Exporter perl-File-BaseDir perl-File-DesktopEntry perl-File-MimeInfo perl-File-Path perl-File-Temp perl-Getopt-Long perl-HTTP-Tiny perl-interpreter perl-IO perl-IO-Socket-IP perl-IO-Socket-SSL perl-libnet perl-libs perl-macros perl-MIME-Base64 perl-Mozilla-CA perl-Net-SSLeay perl-parent perl-PathTools perl-Pod-Escapes perl-podlators perl-Pod-Perldoc perl-Pod-Simple perl-Pod-Usage perl-Scalar-List-Utils perl-Socket perl-Storable perl-Term-ANSIColor perl-Term-Cap perl-Text-ParseWords perl-Text-Tabs+Wrap perl-threads perl-threads-shared perl-Time-Local perl-Unicode-Normalize perl-URI phonon-qt5 phonon-qt5-backend-gstreamer pigz pinentry pinentry-gnome3 pinfo pixman pkgconf pkgconf-m4 pkgconf-pkg-config plasma-breeze plasma-breeze-common plymouth plymouth-core-libs plymouth-graphics-libs plymouth-plugin-label plymouth-plugin-two-step plymouth-scripts plymouth-system-theme plymouth-theme-charge pocl policycoreutils polkit polkit-libs polkit-pkla-compat polkit-qt5-1 poppler poppler-data poppler-glib poppler-utils popt potrace ppp procps-ng psacct psmisc publicsuffix-list-dafsa pulseaudio pulseaudio-libs pulseaudio-libs-glib2 pulseaudio-module-x11 pulseaudio-utils pygobject2 pygtk2 pykickstart python3 python3-beaker python3-bind python3-blivet python3-blockdev python3-bytesize python3-cairo python3-chardet python3-coverage python3-cups python3-dbus python3-decorator python3-dnf python3-dnf-plugins-core python3-firewall python3-gobject python3-gobject-base python3-gpg python3-hawkey python3-idna python3-imgcreate python3-iniparse python3-kickstart python3-langtable python3-libcomps python3-librepo python3-libreport python3-libs python3-libselinux python3-libxml2 python3-mako python3-markupsafe python3-meh python3-meh-gui python3-ntplib python3-ordered-set python3-pid python3-pip python3-ply python3-pwquality python3-pycurl python3-pydbus python3-pyparted python3-pysocks python3-pytz python3-pyudev python3-pyxdg python3-requests python3-requests-file python3-requests-ftp python3-rpm python3-setuptools python3-simpleline python3-six python3-slip python3-slip-dbus python3-smartcols python3-sssdconfig python3-systemd python3-urllib3 python3-wrapt python-imgcreate-sysdeps python-systemd-doc qemu-guest-agent qpdf-libs qrencode-libs qt5-qtbase qt5-qtbase-common qt5-qtbase-gui qt5-qtdeclarative qt5-qtgraphicaleffects qt5-qtlocation qt5-qtmultimedia qt5-qtquickcontrols qt5-qtquickcontrols2 qt5-qtscript qt5-qtsensors qt5-qtspeech qt5-qtspeech-speechd qt5-qtsvg qt5-qttools-common qt5-qttools-libs-designer qt5-qtvirtualkeyboard qt5-qtwebchannel qt5-qtwebengine qt5-qtwebkit qt5-qtx11extras qt5-qtxmlpatterns qterminal qtermwidget qtlockedfile-qt5 qt-settings qtsingleapplication-qt5 quota quota-nls raptor2 rasqal re2 readline realmd redhat-lsb-core redhat-lsb-submod-security redhat-menus redland rest rng-tools rootfiles rpcbind rpm rpm-build-libs rpmfusion-free-appstream-data rpmfusion-free-release rpmfusion-nonfree-appstream-data rpmfusion-nonfree-release rpm-libs rpm-plugin-selinux rpm-plugin-systemd-inhibit rpm-sign-libs rp-pppoe rsync rsyslog rtkit rubberband ruby rubygem-bigdecimal rubygem-io-console rubygem-json #rubygem-openssl rubygem-psych rubygem-rdoc rubygems ruby-irb ruby-libs rubypick samba-client samba-client-libs samba-common samba-common-libs satyr schroedinger sddm SDL SDL2 sed selinux-policy selinux-policy-targeted setup setuptool sgml-common sgpio shadow-utils shared-mime-info shim-ia32 shim-x64 sil-abyssinica-fonts sil-mingzat-fonts sil-nuosu-fonts sil-padauk-fonts simplescreenrecorder slang smartmontools smc-meera-fonts smplayer smtube snappy sos sound-theme-freedesktop soundtouch soxr spax speech-dispatcher speex speexdsp spice-vdagent spirv-tools-libs sqlite sqlite-libs squashfs-tools sssd sssd-ad sssd-client sssd-common sssd-common-pac sssd-ipa sssd-krb5 sssd-krb5-common sssd-ldap sssd-nfs-idmap sssd-proxy startup-notification stix-fonts sudo suitesparse symlinks syslinux syslinux-extlinux syslinux-extlinux-nonlinux syslinux-nonlinux system-config-printer-libs system-config-printer-udev systemd systemd-bootchart systemd-libs systemd-pam systemd-udev taglib tar tbb tcpdump tcp_wrappers tcp_wrappers-libs teamd telnet thai-scalable-fonts-common thai-scalable-waree-fonts tigervnc-license tigervnc-server-minimal time timedatex tmux traceroute transmission-common transmission-qt tree trousers trousers-lib twolame-libs tzdata tzdata-java u2f-hidraw-policy uchardet udisks2 udisks2-iscsi unar unrar unzip upower urw-base35-bookman-fonts urw-base35-c059-fonts urw-base35-d050000l-fonts urw-base35-fonts urw-base35-fonts-common urw-base35-gothic-fonts urw-base35-nimbus-mono-ps-fonts urw-base35-nimbus-roman-fonts urw-base35-nimbus-sans-fonts urw-base35-p052-fonts urw-base35-standard-symbols-ps-fonts urw-base35-z003-fonts usb_modeswitch usb_modeswitch-data usbutils usermode userspace-rcu util-linux util-linux-user vamp-plugin-sdk vconfig vid.stab vim-minimal virtualbox-guest-additions vo-amrwbenc volume_key-libs vulkan-loader wavpack web-assets-filesystem webkit2gtk3 webkit2gtk3-jsc webkit2gtk3-plugin-process-gtk2 webrtc-audio-processing wget which wireless-tools woff2 words wpa_supplicant wqy-microhei-fonts wvdial x264 x264-libs x265 x265-libs xcb-util xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xdg-user-dirs xdg-utils xfsprogs xkeyboard-config xml-common xmlrpc-c xmlrpc-c-client xmlsec1 xmlsec1-nss xmlsec1-openssl xorg-x11-drv-ati xorg-x11-drv-evdev xorg-x11-drv-fbdev xorg-x11-drv-intel xorg-x11-drv-libinput xorg-x11-drv-nouveau xorg-x11-drv-openchrome xorg-x11-drv-qxl xorg-x11-drv-vesa xorg-x11-drv-vmware xorg-x11-drv-wacom xorg-x11-drv-wacom-serial-support xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-font-utils xorg-x11-server-common xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-xinit xscreensaver-base xvidcore xz xz-libs yajl yelp yelp-libs yelp-xsl youtube-dl zd1211-firmware zenity zip zlib %end %post # FIXME: it'd be better to get this installed from a package cat > /etc/rc.d/init.d/livesys << EOF #!/bin/bash # # live: Init script for live image # # chkconfig: 345 00 99 # description: Init script for live image. ### BEGIN INIT INFO # X-Start-Before: display-manager chronyd ### END INIT INFO . /etc/init.d/functions if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ]; then exit 0 fi if [ -e /.liveimg-configured ] ; then configdone=1 fi exists() { which \$1 >/dev/null 2>&1 || return \$* } livedir="LiveOS" for arg in \`cat /proc/cmdline\` ; do if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then livedir=\${arg##rd.live.dir=} continue fi if [ "\${arg##live_dir=}" != "\${arg}" ]; then livedir=\${arg##live_dir=} fi done # enable swaps unless requested otherwise swaps=\`blkid -t TYPE=swap -o device\` if ! strstr "\`cat /proc/cmdline\`" noswap && [ -n "\$swaps" ] ; then for s in \$swaps ; do action "Enabling swap partition \$s" swapon \$s done fi if ! strstr "\`cat /proc/cmdline\`" noswap && [ -f /run/initramfs/live/\${livedir}/swap.img ] ; then action "Enabling swap file" swapon /run/initramfs/live/\${livedir}/swap.img fi mountPersistentHome() { # support label/uuid if [ "\${homedev##LABEL=}" != "\${homedev}" -o "\${homedev##UUID=}" != "\${homedev}" ]; then homedev=\`/sbin/blkid -o device -t "\$homedev"\` fi # if we're given a file rather than a blockdev, loopback it if [ "\${homedev##mtd}" != "\${homedev}" ]; then # mtd devs don't have a block device but get magic-mounted with -t jffs2 mountopts="-t jffs2" elif [ ! -b "\$homedev" ]; then loopdev=\`losetup -f\` if [ "\${homedev##/run/initramfs/live}" != "\${homedev}" ]; then action "Remounting live store r/w" mount -o remount,rw /run/initramfs/live fi losetup \$loopdev \$homedev homedev=\$loopdev fi # if it's encrypted, we need to unlock it if [ "\$(/sbin/blkid -s TYPE -o value \$homedev 2>/dev/null)" = "crypto_LUKS" ]; then echo echo "Setting up encrypted /home device" plymouth ask-for-password --command="cryptsetup luksOpen \$homedev EncHome" homedev=/dev/mapper/EncHome fi # and finally do the mount mount \$mountopts \$homedev /home # if we have /home under what's passed for persistent home, then # we should make that the real /home. useful for mtd device on olpc if [ -d /home/home ]; then mount --bind /home/home /home ; fi [ -x /sbin/restorecon ] && /sbin/restorecon /home if [ -d /home/liveuser ]; then USERADDARGS="-M" ; fi } findPersistentHome() { for arg in \`cat /proc/cmdline\` ; do if [ "\${arg##persistenthome=}" != "\${arg}" ]; then homedev=\${arg##persistenthome=} fi done } if strstr "\`cat /proc/cmdline\`" persistenthome= ; then findPersistentHome elif [ -e /run/initramfs/live/\${livedir}/home.img ]; then homedev=/run/initramfs/live/\${livedir}/home.img fi # if we have a persistent /home, then we want to go ahead and mount it if ! strstr "\`cat /proc/cmdline\`" nopersistenthome && [ -n "\$homedev" ] ; then action "Mounting persistent /home" mountPersistentHome fi if [ -n "\$configdone" ]; then exit 0 fi # add liveuser user with no passwd action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser passwd -d liveuser > /dev/null usermod -aG wheel liveuser > /dev/null # Remove root password lock passwd -d root > /dev/null # turn off firstboot for livecd boots systemctl --no-reload disable firstboot-text.service 2> /dev/null || : systemctl --no-reload disable firstboot-graphical.service 2> /dev/null || : systemctl stop firstboot-text.service 2> /dev/null || : systemctl stop firstboot-graphical.service 2> /dev/null || : # don't use prelink on a running live image sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null || : # turn off mdmonitor by default systemctl --no-reload disable mdmonitor.service 2> /dev/null || : systemctl --no-reload disable mdmonitor-takeover.service 2> /dev/null || : systemctl stop mdmonitor.service 2> /dev/null || : systemctl stop mdmonitor-takeover.service 2> /dev/null || : # don't enable the gnome-settings-daemon packagekit plugin gsettings set org.gnome.software download-updates 'false' || : # don't start cron/at as they tend to spawn things which are # disk intensive that are painful on a live image systemctl --no-reload disable crond.service 2> /dev/null || : systemctl --no-reload disable atd.service 2> /dev/null || : systemctl stop crond.service 2> /dev/null || : systemctl stop atd.service 2> /dev/null || : # turn off abrtd on a live image systemctl --no-reload disable abrtd.service 2> /dev/null || : systemctl stop abrtd.service 2> /dev/null || : # Don't sync the system clock when running live (RHBZ #1018162) sed -i 's/rtcsync//' /etc/chrony.conf # Mark things as configured touch /.liveimg-configured # add static hostname to work around xauth bug # https://bugzilla.redhat.com/show_bug.cgi?id=679486 # the hostname must be something else than 'localhost' # https://bugzilla.redhat.com/show_bug.cgi?id=1370222 echo "localhost-live" > /etc/hostname EOF # bah, hal starts way too late cat > /etc/rc.d/init.d/livesys-late << EOF #!/bin/bash # # live: Late init script for live image # # chkconfig: 345 99 01 # description: Late init script for live image. . /etc/init.d/functions if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then exit 0 fi exists() { which \$1 >/dev/null 2>&1 || return \$* } touch /.liveimg-late-configured # read some variables out of /proc/cmdline for o in \`cat /proc/cmdline\` ; do case \$o in ks=*) ks="--kickstart=\${o#ks=}" ;; xdriver=*) xdriver="\${o#xdriver=}" ;; esac done # if liveinst or textinst is given, start anaconda if strstr "\`cat /proc/cmdline\`" liveinst ; then plymouth --quit /usr/sbin/liveinst \$ks fi if strstr "\`cat /proc/cmdline\`" textinst ; then plymouth --quit /usr/sbin/liveinst --text \$ks fi # configure X, allowing user to override xdriver if [ -n "\$xdriver" ]; then cat > /etc/X11/xorg.conf.d/00-xdriver.conf <> /etc/fstab << EOF vartmp /var/tmp tmpfs defaults 0 0 EOF # work around for poor key import UI in PackageKit rm -f /var/lib/rpm/__db* releasever=$(rpm -q --qf '%{version}\n' --whatprovides system-release) basearch=$(uname -i) rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch echo "Packages within this LiveCD" rpm -qa # Note that running rpm recreates the rpm db files which aren't needed or wanted rm -f /var/lib/rpm/__db* # go ahead and pre-make the man -k cache (#455968) /usr/bin/mandb # make sure there aren't core files lying around rm -f /core* # remove random seed, the newly installed instance should make it's own rm -f /var/lib/systemd/random-seed # convince readahead not to collect # FIXME: for systemd echo 'File created by kickstart. See systemd-update-done.service(8).' \ | tee /etc/.updated >/var/.updated # Drop the rescue kernel and initramfs, we don't need them on the live media itself. # See bug 1317709 rm -f /boot/*-rescue* # Disable network service here, as doing it in the services line # fails due to RHBZ #1369794 /sbin/chkconfig network off # Remove machine-id on pre generated images rm -f /etc/machine-id touch /etc/machine-id # add initscript cat >> /etc/rc.d/init.d/livesys << EOF # set up autologin for user liveuser if [ -f /etc/sddm.conf ]; then sed -i 's/^#User=.*/User=liveuser/' /etc/sddm.conf sed -i 's/^#Session=.*/Session=lxqt.desktop/' /etc/sddm.conf else cat > /etc/sddm.conf << SDDM_EOF [Autologin] User=liveuser Session=lxqt.desktop SDDM_EOF fi # show liveinst.desktop on desktop and in menu sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop mkdir /home/liveuser/Desktop cp -a /usr/share/applications/liveinst.desktop /home/liveuser/Desktop/ # set up preferred apps cat > /etc/xdg/libfm/pref-apps.conf << FOE [Preferred Applications] WebBrowser=qupzilla.desktop FOE # no updater applet in live environment rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop # make sure to set the right permissions and selinux contexts chown -R liveuser:liveuser /home/liveuser/ restorecon -R /home/liveuser/ EOF %end %post --nochroot cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/ # only works on x86, x86_64 if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then # For livecd-creator builds if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS # For lorax/livemedia-creator builds sed -i ' /## make boot.iso/ i\ # Add livecd-iso-to-disk script to .iso filesystem at /LiveOS/\ <% f = "usr/bin/livecd-iso-to-disk" %>\ %if exists(f):\ install ${f} ${LIVEDIR}/${f|basename}\ %endif\ ' /usr/share/lorax/templates.d/99-generic/live/x86.tmpl fi # MontanaLinux Stuff HOSTDIR="/root/livecd-creator/MontanaLinux" cp -f "$HOSTDIR/.tmux.conf" "$INSTALL_ROOT/etc/skel/" cp -f "$HOSTDIR/.tmux.conf" "$INSTALL_ROOT/root/" mkdir "$INSTALL_ROOT/root/livecd-creator" cp -f -r $HOSTDIR "$INSTALL_ROOT/root/livecd-creator/" %end