# 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 url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch repo --name=fedora --baseurl=http://img.cs.montana.edu/linux/fedora/development/36/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/36/x86_64/ repo --name=rpmfusion-free --baseurl=http://img.cs.montana.edu/linux/rpmfusion/free/fedora/development/36/Everything/x86_64/os/ repo --name=rpmfusion-nonfree --baseurl=http://img.cs.montana.edu/linux/rpmfusion/nonfree/fedora/development/36/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/ %packages # rpm -qa --qf "%{n}\n" | grep -v pubkey | sort > package-list.txt aajohan-comfortaa-fonts aalib-libs abattis-cantarell-fonts accountsservice acl adcli adobe-mappings-cmap adobe-mappings-cmap-deprecated adobe-mappings-pdf adobe-source-han-sans-cn-fonts adobe-source-han-sans-tw-fonts 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 aspell at atk atkmm atlas atmel-firmware atril #atril-caja atril-libs #atril-thumbnailer 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 blivet-gui-runtime blueberry bluez bluez-cups bluez-libs bluez-obexd bluez-tools boost-chrono boost-date-time boost-filesystem boost-iostreams boost-locale boost-system boost-thread breeze-icon-theme bridge-utils brlapi brltty brotli btrfs-progs bzip2 bzip2-libs ca-certificates cairo cairo-gobject cairomm #caja #caja-actions #caja-actions-doc #caja-core-extensions #caja-extensions-common #caja-image-converter #caja-open-terminal #caja-schemas #caja-sendto #caja-wallpaper #caja-xattr-tags c-ares ccsm cdparanoia-libs checkpolicy chkconfig chrony cifs-utils clang-libs cldr-emoji-annotation clucene-contribs-lib clucene-core colord-libs compat-lua-libs compiler-rt compiz compizconfig-python compiz-manager compiz-plugins-experimental compiz-plugins-extra compiz-plugins-main 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 dconf-editor 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 djvulibre-libs 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 emerald emerald-themes enca enchant #engrampa eom esmtp espeak ethtool exempi exfat-utils exo expat faad2-libs 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 filezilla findutils fipscheck firefox firewall-config firewalld firewalld-filesystem flac-libs fontconfig fontpackages-filesystem foomatic-db-filesystem foomatic-db-ppds fortune-mod fpaste fprintd fprintd-pam freeglut freetype freetype-freeworld fribidi fros fros-recordmydesktop fuse fuse-common fuse-exfat fuse-libs fusion-icon #gamin gawk gc gcc gcc-gdb-plugin GConf2 gcr gd gdb gdb-headless gdbm gdbm-libs gdisk gdk-pixbuf2 gdk-pixbuf2-modules gdouros-symbola-fonts 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-bluetooth gnome-bluetooth-libs gnome-disk-utility gnome-epub-thumbnailer gnome-keyring gnome-keyring-pam gnome-vfs2 gnome-vfs2-common gnote gnu-free-fonts-common gnu-free-mono-fonts gnu-free-sans-fonts gnu-free-serif-fonts gnupg2 gnupg2-smime 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-fonts 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-murrine-engine gtksourceview2 gtksourceview3 gtkspell3 gtk-update-icon-cache gucharmap gucharmap-libs guile gupnp gupnp-igd gutenprint gutenprint-cups gutenprint-libs gvfs gvfs-afc gvfs-archive gvfs-client gvfs-fuse gvfs-gphoto2 gvfs-mtp gvfs-smb gzip hardlink harfbuzz harfbuzz-icu hexchat 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 ibus ibus-cangjie ibus-cangjie-engine-cangjie ibus-gtk2 ibus-gtk3 ibus-hangul ibus-kkc ibus-libpinyin ibus-libs ibus-libzhuyin ibus-m17n ibus-rawcode ibus-setup ibus-typing-booster ilmbase ima-evm-utils ImageMagick ImageMagick-c++ ImageMagick-libs im-chooser im-chooser-common imsettings imsettings-gsettings imsettings-libs info initial-setup initial-setup-gui initscripts inkscape iodine-client ipcalc iproute iproute-tc ipset ipset-libs iptables iptables-libs iptstate iputils 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 kde-filesystem kde-settings kernel kernel-core kernel-headers kernel-modules kernel-modules-extra kernel-tools-libs kexec-tools kexec-tools-anaconda-addon keybinder3 keyutils keyutils-libs kf5-filesystem kf5-karchive kf5-kauth kf5-kcodecs kf5-kcompletion kf5-kconfig-core kf5-kconfig-gui kf5-kconfigwidgets kf5-kcoreaddons kf5-kcrash kf5-kdbusaddons kf5-kdoctools kf5-kguiaddons kf5-ki18n kf5-kiconthemes kf5-kinit kf5-kio-core kf5-kio-core-libs kf5-kio-doc kf5-kio-ntlm kf5-kio-widgets kf5-kio-widgets-libs kf5-kitemviews kf5-kjobwidgets kf5-knotifications kf5-kservice kf5-ktextwidgets kf5-kwallet kf5-kwallet-libs kf5-kwidgetsaddons kf5-kwindowsystem kf5-solid kf5-solid-libs kf5-sonnet-core kf5-sonnet-ui khmeros-base-fonts kmod kmod-libs kpartx krb5-libs ladspa lame-libs langtable lcms2 ldns less liba52 libabw libacl libaio libao libappindicator-gtk3 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 libburn libbytesize libcaca libcanberra libcanberra-gtk3 libcangjie libcangjie-data libcap libcap-ng libcdio libcdio-paranoia libcdr libcgroup libclc libcmis libcollection libcompizconfig libcomps libconfig libcryptui 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 libfilezilla libfontenc libfprint libfreehand libgcc libgcrypt libgee libgfortran libglade2 libglvnd libglvnd-egl libglvnd-gles libglvnd-glx libgnomekbd libgnome-keyring libgomp libgpg-error libgphoto2 libgs libgtop2 libgudev libgusb libgxps libhangul libical libICE libicu libidn libidn2 libiec61883 libijs libimagequant libimobiledevice libindicator-gtk3 libini_config libinput libipa_hbac libipt libisofs libjpeg-turbo libkcapi libkcapi-hmaccalc libkkc libkkc-common libkkc-data libksba liblangtag liblangtag-data libldb liblockfile liblogging-stdlog liblouis libmad libmatekbd libmatemixer libmateweather libmateweather-data libmbim libmbim-utils libmcpp libmetalink libmfx libmms libmng libmnl libmodman libmodulemd libmount libmpc libmpcdec libmpeg2 libmspack libmspub libmtp libmwaw libnatpmp libndp libnetfilter_conntrack libnfnetlink libnfsidmap libnghttp2 libnice libnl3 libnl3-cli libnma libnotify libnsl2 libodfgen libogg libomp libopenraw liborcus libpagemaker libpaper libpath_utils libpcap libpciaccess libpeas libpeas-gtk libpeas-loader-python libpeas-loader-python3 libpinyin libpinyin-data libpipeline libpkgconf libplist libpng libproxy libpskc libpsl libpwquality libqmi libqmi-utils libquadmath libqxp librados2 libraw1394 libref_array libreoffice-calc libreoffice-core libreoffice-data libreoffice-draw libreoffice-emailmerge libreoffice-graphicfilter libreoffice-gtk3 libreoffice-help-en libreoffice-impress libreoffice-langpack-en libreoffice-math libreoffice-opensymbol-fonts libreoffice-pdfimport 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 libreswan librevenge librsvg2 librtmp libsamplerate libseccomp libsecret libselinux libselinux-utils libsemanage libsepol libshout libsigc++20 libsigsegv libSM libsmartcols libsmbclient libsndfile libsolv libsoup libspectre libspiro libsrtp libssh libssh2 libsss_autofs libsss_certmap libsss_idmap libsss_nss_idmap libsss_sudo libstaroffice libstdc++ libstdc++-devel libstorj libsysfs libtalloc libtar libtasn1 libtdb libteam libtevent libthai libtheora libtiff libtimezonemap libtirpc libtool-ltdl libudisks2 libunistring libunwind libusal libusb libusbmuxd libusbx libuser libutempter libuuid libuv libv4l libva libvdpau libverto libverto-libev libvisio libvisual libvorbis libvpx libwacom libwacom-data libwayland-client libwayland-cursor libwayland-egl libwayland-server libwbclient libwebp libwmf libwmf-lite libwnck3 libwpd libwpg libwps libwvstreams libX11 libX11-common libX11-xcb libXau libxcb libXcomposite libxcrypt libxcrypt-devel libXcursor libXdamage libXdmcp libXext libxfce4ui libxfce4util libXfixes libXfont2 libXft libXi libXinerama libxkbcommon libxkbcommon-x11 libxkbfile libxklavier libxml++ libxml2 libXmu libXpm libXpresent libXrandr libXrender libXres libXScrnSaver libxshmfence libxslt libXt libXtst libXv libXvMC libXxf86dga libXxf86misc libXxf86vm libyaml libyui libyui-gtk libyui-ncurses libyui-qt libzhuyin libzmf libzstd lightdm lightdm-gobject lightdm-settings 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 lm_sensors-libs lockdev 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 luajit lua-libs lua-posix lvm2 lvm2-libs lz4 lz4-libs lzo m17n-db m17n-lib m4 mactel-boot mailcap mailx make man-db man-pages marco marco-libs marisa mate-applets mate-backgrounds mate-calc mate-control-center mate-control-center-filesystem mate-desktop mate-desktop-libs mate-dictionary mate-disk-usage-analyzer mate-icon-theme mate-media mate-menus mate-menus-libs mate-menus-preferences-category-menu mate-notification-daemon mate-panel mate-panel-libs mate-polkit mate-power-manager mate-screensaver mate-screenshot mate-search-tool mate-session-manager mate-settings-daemon mate-system-log mate-system-monitor mate-terminal mate-themes mate-user-guide mate-utils-common mathjax mathjax-ams-fonts mathjax-caligraphic-fonts mathjax-fraktur-fonts mathjax-main-fonts mathjax-math-fonts mathjax-sansserif-fonts mathjax-script-fonts mathjax-size1-fonts mathjax-size2-fonts mathjax-size3-fonts mathjax-size4-fonts mathjax-stixweb-fonts mathjax-typewriter-fonts mathjax-vector-fonts mathjax-winchrome-fonts mathjax-winie6-fonts mc mcelog mcpp mdadm media-player-info memtest86+ mencoder 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 mjpegtools-libs mlocate mobile-broadband-provider-info ModemManager ModemManager-glib mokutil mozilla-filesystem mozo mpfr mpg123-libs mplayer mplayer-common mplayer-gui mpv mtdev mtools mtr mythes mythes-en nano naver-nanum-fonts-common naver-nanum-gothic-fonts ncurses ncurses-base ncurses-compat-libs ncurses-libs neon nettle net-tools NetworkManager NetworkManager-adsl network-manager-applet NetworkManager-bluetooth NetworkManager-iodine NetworkManager-iodine-gnome NetworkManager-l2tp NetworkManager-l2tp-gnome NetworkManager-libnm NetworkManager-libreswan NetworkManager-libreswan-gnome NetworkManager-openconnect NetworkManager-openconnect-gnome NetworkManager-openvpn NetworkManager-openvpn-gnome NetworkManager-pptp NetworkManager-pptp-gnome NetworkManager-team NetworkManager-vpnc NetworkManager-vpnc-gnome NetworkManager-wifi NetworkManager-wwan newt nfs-utils nmap-ncat nm-connection-editor npth nspr nss nss-mdns nss-softokn nss-softokn-freebl nss-sysinit nss-tools nss-util ntfs-3g ntfsprogs numactl-libs ocl-icd openal-soft openblas openblas-serial openblas-threads opencc opencl-filesystem openconnect 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 openvpn opus orc orca os-prober p11-kit p11-kit-trust p7zip p7zip-plugins pakchois paktype-naskh-basic-fonts pam pango pangomm paps paratype-pt-sans-fonts parole parted passwd passwdqc passwdqc-lib patch pciutils pciutils-libs pcre pcre2 pcre2-utf16 pcsc-lite-libs perl-Carp perl-constant perl-Errno perl-Exporter perl-File-Path perl-File-Temp perl-interpreter perl-IO perl-libs perl-macros perl-parent perl-PathTools perl-Scalar-List-Utils perl-Socket perl-Text-Tabs+Wrap perl-threads perl-threads-shared perl-Unicode-Normalize phonon-qt5 phonon-qt5-backend-gstreamer pigz pinentry pinentry-gnome3 pinfo pixman pkcs11-helper pkgconf pkgconf-m4 pkgconf-pkg-config pluma pluma-data plymouth plymouth-core-libs plymouth-graphics-libs plymouth-plugin-label plymouth-plugin-two-step plymouth-scripts plymouth-system-theme plymouth-theme-charge pocl policycoreutils policycoreutils-python-utils polkit polkit-libs polkit-pkla-compat polkit-qt5-1 poppler poppler-data poppler-glib poppler-utils popt potrace ppp pptp procps-ng psacct psmisc publicsuffix-list-dafsa pugixml pulseaudio pulseaudio-libs pulseaudio-libs-glib2 pulseaudio-module-bluetooth pulseaudio-module-x11 pulseaudio-utils pykickstart python3 python3-audit python3-beaker python3-bind python3-blivet python3-blockdev python3-brlapi python3-bytesize python3-cairo python3-canberra python3-cangjie python3-chardet python3-coverage python3-cups python3-dbus python3-decorator python3-dnf python3-dnf-plugins-core python3-enchant python3-firewall python3-gobject python3-gobject-base python3-gpg python3-hawkey python3-idna python3-imgcreate python3-iniparse python3-IPy python3-kickstart python3-langtable python3-libcomps python3-librepo python3-libreport python3-libs python3-libselinux python3-libsemanage python3-libxml2 python3-louis python3-mako python3-markupsafe python3-meh python3-meh-gui python3-newt python3-ntplib python3-ordered-set python3-pid python3-pip python3-ply python3-policycoreutils python3-psutil python3-pwquality python3-pyatspi python3-pycurl python3-pydbus python3-pyparted python3-pysocks python3-pytz python3-pyudev python3-pyxdg python3-qt5 python3-qt5-base python3-requests python3-requests-file python3-requests-ftp python3-rpm python3-setools python3-setproctitle python3-setuptools python3-simpleline python3-six python3-slip python3-slip-dbus python3-smartcols python3-speechd python3-sssdconfig python3-systemd python3-urllib3 python3-wrapt python3-xapp python-imgcreate-sysdeps python-qt5-rpm-macros python-systemd-doc qemu-guest-agent qpdf-libs qrencode-libs qt5-qtbase qt5-qtbase-common qt5-qtbase-gui qt5-qtconnectivity qt5-qtdeclarative qt5-qtenginio qt5-qtlocation qt5-qtmultimedia qt5-qtscript qt5-qtsensors qt5-qtserialport qt5-qtspeech qt5-qtspeech-speechd qt5-qtsvg qt5-qttools-common qt5-qttools-libs-designer qt5-qttools-libs-help qt5-qtwebchannel qt5-qtwebkit qt5-qtwebsockets qt5-qtx11extras qt5-qtxmlpatterns qtlockedfile-qt5 qt-settings qtsingleapplication-qt5 quota quota-nls raptor2 rasqal readline realmd recode 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 sbc schroedinger SDL SDL2 seahorse # seahorse-caja sed selinux-policy selinux-policy-targeted setroubleshoot setroubleshoot-plugins setroubleshoot-server 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 simple-ccsm simplescreenrecorder skkdic slang slick-greeter slick-greeter-mate 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 stoken-libs sudo suitesparse symlinks syslinux syslinux-extlinux syslinux-extlinux-nonlinux syslinux-nonlinux system-config-language system-config-printer-applet 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 texlive-lib thai-scalable-fonts-common thai-scalable-waree-fonts tigervnc-license tigervnc-server-minimal time timedatex tmux traceroute transmission-common transmission-gtk tree trousers trousers-lib twolame-libs tzdata tzdata-java u2f-hidraw-policy uchardet udisks2 udisks2-iscsi unbound-libs unicode-ucd 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 usbmuxd usbutils usermode userspace-rcu util-linux util-linux-user vamp-plugin-sdk vconfig vid.stab vim-common vim-enhanced vim-filesystem vim-minimal virtualbox-guest-additions vlgothic-fonts vo-amrwbenc volume_key-libs vpnc vpnc-script vte291 vte-profile vulkan-loader wavpack web-assets-filesystem webkit2gtk3 webkit2gtk3-jsc webrtc-audio-processing wget which wmctrl woff2 words wpa_supplicant wvdial wxBase3 wxGTK3 wxGTK3-i18n x264 x264-libs x265 x265-libs xcb-util xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xdg-user-dirs xdg-user-dirs-gtk xdg-utils xfburn xfconf xfsprogs xkeyboard-config xl2tpd 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-font-utils xorg-x11-server-common xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-xinit 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 swapfile if it exists 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 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 hostnamectl set-hostname "localhost-live" 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* echo "Packages within this LiveCD" rpm -qa --qf '%{size}\t%{name}-%{version}-%{release}.%{arch}\n' |sort -rn # 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 cat >> /etc/rc.d/init.d/livesys << EOF # make the installer show up if [ -f /usr/share/applications/liveinst.desktop ]; then # Show harddisk install in shell dash sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop "" fi mkdir /home/liveuser/Desktop cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop # and mark it as executable chmod +x /home/liveuser/Desktop/liveinst.desktop # rebuild schema cache with any overrides we installed glib-compile-schemas /usr/share/glib-2.0/schemas # set up lightdm autologin sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf #sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf # set MATE as default session, otherwise login will fail sed -i 's/^#user-session=.*/user-session=mate/' /etc/lightdm/lightdm.conf # Turn off PackageKit-command-not-found while uninstalled if [ -f /etc/PackageKit/CommandNotFound.conf ]; then sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf fi # 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 # For livecd-creator builds only (lorax/livemedia-creator handles this directly) if [ -n "$LIVE_ROOT" ]; then cp "$INSTALL_ROOT"/usr/share/licenses/*-release-common/* "$LIVE_ROOT/" # only installed on x86, x86_64 if [ -f /usr/bin/livecd-iso-to-disk ]; then mkdir -p "$LIVE_ROOT/LiveOS" cp /usr/bin/livecd-iso-to-disk "$LIVE_ROOT/LiveOS" fi fi %end