2013-05-28 06:44:45 +00:00
|
|
|
lang en_US.UTF-8
|
|
|
|
#keyboard us
|
|
|
|
auth --useshadow --enablemd5
|
|
|
|
selinux --enforcing
|
|
|
|
firewall --enabled --service=mdns,ssh
|
|
|
|
|
2013-08-27 04:10:33 +00:00
|
|
|
# configure extlinux bootloader
|
2013-11-25 04:13:52 +00:00
|
|
|
bootloader extlinux
|
2013-08-27 04:10:33 +00:00
|
|
|
|
2013-06-01 02:57:20 +00:00
|
|
|
# make sure that initial-setup runs and lets us do all the configuration bits
|
|
|
|
firstboot --reconfig
|
|
|
|
|
2013-05-28 06:44:45 +00:00
|
|
|
services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=network
|
|
|
|
|
2013-06-29 13:05:30 +00:00
|
|
|
%include fedora-repo.ks
|
2013-05-28 06:44:45 +00:00
|
|
|
|
|
|
|
%packages
|
|
|
|
@core
|
|
|
|
@standard
|
|
|
|
@hardware-support
|
|
|
|
@dial-up
|
|
|
|
|
|
|
|
kernel
|
|
|
|
kernel-lpae
|
|
|
|
|
2013-10-08 03:21:50 +00:00
|
|
|
dracut-config-generic
|
|
|
|
|
2013-05-28 06:44:45 +00:00
|
|
|
chrony
|
|
|
|
arm-boot-config
|
2013-08-27 04:10:33 +00:00
|
|
|
extlinux-bootloader
|
2013-05-28 06:44:45 +00:00
|
|
|
initial-setup
|
2013-08-01 00:45:24 +00:00
|
|
|
#lets resize / on first boot
|
|
|
|
dracut-modules-growroot
|
2013-06-08 13:58:01 +00:00
|
|
|
|
2013-10-17 02:58:04 +00:00
|
|
|
# remove this in %post
|
|
|
|
dracut-config-generic
|
|
|
|
|
2013-06-08 13:58:01 +00:00
|
|
|
# install uboot images
|
|
|
|
uboot-beagle
|
|
|
|
uboot-beaglebone
|
|
|
|
uboot-origen
|
|
|
|
uboot-panda
|
|
|
|
uboot-smdkv310
|
|
|
|
uboot-uevm
|
|
|
|
uboot-wandboard_dl
|
|
|
|
uboot-wandboard_solo
|
2013-07-04 14:53:01 +00:00
|
|
|
uboot-wandboard_quad
|
2013-06-08 13:58:01 +00:00
|
|
|
|
2013-05-28 06:44:45 +00:00
|
|
|
%end
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
2013-12-12 10:15:28 +00:00
|
|
|
# work around for poor key import UI in PackageKit
|
|
|
|
rm -f /var/lib/rpm/__db*
|
|
|
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
|
|
|
basearch=armhfp
|
|
|
|
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*
|
|
|
|
|
2013-05-28 06:44:45 +00:00
|
|
|
# Because memory is scarce resource in most arm systems we are differing from the Fedora
|
|
|
|
# default of having /tmp on tmpfs.
|
|
|
|
echo "Disabling tmpfs for /tmp."
|
|
|
|
systemctl mask tmp.mount
|
|
|
|
|
|
|
|
/usr/sbin/a-b-c
|
2013-10-17 02:58:04 +00:00
|
|
|
|
|
|
|
yum -y remove dracut-config-generic
|
|
|
|
|
2013-05-28 06:44:45 +00:00
|
|
|
%end
|
|
|
|
|