# Generated by pykickstart v3.34 #version=DEVEL # Keyboard layouts keyboard 'us' # Root password rootpw --iscrypted --lock locked # System language lang en_US.UTF-8 # Shutdown after installation shutdown # Use text mode install text # Network information network --bootproto=dhcp --device=link --activate # Firewall configuration firewall --enabled --service=mdns # Use network installation url --url="https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20220514.n.0/compose/Everything/aarch64/os" repo --name="koji-override-0" --baseurl=https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20220514.n.0/compose/Everything/aarch64/os # System timezone timezone US/Eastern # Run the Setup Agent on first boot firstboot --reconfig # SELinux configuration selinux --enforcing # System services services --enabled="sshd,NetworkManager,chronyd" # System bootloader configuration bootloader --location=mbr --timeout=1 autopart --type=btrfs --noswap # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all --initlabel --disklabel=msdos %post # Find the architecture we are on arch=$(uname -m) # Setup Raspberry Pi firmware if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then if [[ $arch == "aarch64" ]]; then cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin cp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin else cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin cp -P /usr/share/uboot/rpi_4_32b/u-boot.bin /boot/efi/rpi4-u-boot.bin fi fi releasever=$(rpm --eval '%{fedora}') rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary echo "Packages within this disk image" rpm -qa --qf '%{size}\t%{name}-%{version}-%{release}.%{arch}\n' |sort -rn # remove random seed, the newly installed instance should make it's own rm -f /var/lib/systemd/random-seed # The enp1s0 interface is a left over from the imagefactory install, clean this up rm -f /etc/NetworkManager/system-connections/*.nmconnection dnf -y remove dracut-config-generic # Remove machine-id on pre generated images rm -f /etc/machine-id touch /etc/machine-id # Note that running rpm recreates the rpm db files which aren't needed or wanted rm -f /var/lib/rpm/__db* # Anaconda adds console=tty0 to the grub boot line on all images. this is problematic # when you are using fedora via serial console as you do not get any output post grub # linux does a good job of knowing what consoles need to be enabled. # https://bugzilla.redhat.com/show_bug.cgi?id=2022757 if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then sed -i -e 's|console=tty0||g' /boot/loader/entries/*conf fi %end %post # Explicitly set graphical.target as default as this is how initial-setup detects which version to run ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target %end %packages @^kde-desktop-environment @arm-tools @base-x @core @firefox @fonts @hardware-support @input-methods @kde-apps @kde-media @libreoffice @multimedia @printing @standard aajohan-comfortaa-fonts bcm283x-firmware chrony dracut-config-generic fedora-release-kde fuse glibc-all-langpacks initial-setup initial-setup-gui kde-l10n kernel libreoffice-draw libreoffice-math mariadb-connector-c mariadb-embedded mariadb-server mediawriter -@admin-tools -@guest-desktop-agents -desktop-backgrounds-basic -digikam -dracut-config-rescue -generic-release* -gnome-disk-utility -ipw* -iwl* -k3b -kdeaccessibility* -kernel-lpae -kipi-plugins -krusader -ktorrent -system-config-printer -system-config-services -system-config-users -usb_modeswitch %end