# Customizations to fit in the Toshiba AC100 # Also tested on Tegra Trimslice # Maintained by the Nicolas Chauvet: # http://fedoraproject.org/wiki/Architectures/ARM # mailto:kwizart@gmail.com %include fedora-lxde-packages.ks lang en_US.UTF-8 #keyboard us auth --useshadow --enablemd5 selinux --enforcing firewall --enabled --service=mdns,ssh bootloader --location=none part /boot --size=300 --fstype ext4 --label=bootfs part / --grow --size=3500 --fstype ext4 --label=rootfs # make sure that initial-setup runs and lets us do all the configuration bits firstboot --reconfig services --enabled=sshd,NetworkManager,avahi-daemon,chronyd --disabled=network #repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch #repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch repo --name=fedora-ac100 --baseurl=http://repos.fedorapeople.org/repos/kwizart/ac100/fedora-$releasever/armhfp/ --includepkgs=kernel,llvm,llvm-libs repo --name=kwizart --baseurl=http://rpms.kwizart.net/fedora/$releasever/armhfp/ repo --name=kwizart-testing --baseurl=http://rpms.kwizart.net/fedora/testing/$releasever/armhfp/ %packages @core @standard @base-x @fonts @input-methods @multimedia @printing kernel chrony arm-boot-config initial-setup gdisk fedora-release fedora-release-notes system-config-date system-config-keyboard system-config-language gnome-power-manager # Install ac100 specific packages ac100-hacks kmscon uboot-paz00 uboot-tools xorg-x11-drv-freedreno xorg-x11-drv-opentegra xorg-x11-drv-fbdev xorg-x11-drv-modesetting xorg-x11-drv-evdev xorg-x11-glamor # Needed by bootloader cbootimage parted # Uneeded on AC100 -dvd+rw-tools -gnomebaker -pcmciautils -rng-tools -transmission-cli -transmission-gtk -transmission-common -transmission -xorg-x11-drv-ati -xorg-x11-drv-omap -xorg-x11-drv-mga -prelink # Experimental things f2fs-tools criu #Usual things on desktop gnash-plugin %end %post # setup systemd to boot to the right runlevel echo -n "Setting default runlevel to multiuser graphical mode" rm -f /etc/systemd/system/default.target ln -s /lib/systemd/system/graphical.target /etc/systemd/system/default.target echo . echo -n "Enabling initial-setup text mode on startup" ln -fs /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service echo . # Tweak cma - Disable plymouth sed -i -e 's/rootwait/rootwait cma=128M plymouth.enable=0/' /etc/sysconfig/arm-boot-config #from fedora-arm-base.ks /usr/sbin/a-b-c #Exclude kernel from fedora-release repos sed -i -e "s/\[updates\]/\[updates\]\nexclude=kernel/1" /etc/yum.repos.d/fedora-updates.repo #Hack opentegra.conf # cat > /usr/share/X11/xorg.conf.d/opentegra.conf< /etc/X11/xorg.conf< /etc/modules-load.d/tegra.conf< /etc/modules-load.d/zram.conf< /etc/modprobe.d/zram.conf< /etc/udev/rules.d/10-zram.rules< /etc/dracut.d/tegra.conf< /boot/simple-boot.cmd<