# Perform a basic Fedora 17 ARM (Highbank) install lang en_US.UTF-8 keyboard us timezone --utc US/Eastern auth --useshadow --enablemd5 selinux --permissive firewall --enabled --service=mdns,ssh network --bootproto=dhcp --device=eth0 --onboot=on --activate --hostname=highbank-f17-hfp services --enabled=NetworkManager,sshd --disabled=network # Only use this with Anaconda for serial console installs, not with livemedia-creator. cmdline skipx # Set a default root password for Fedora rootpw --plaintext fedora # Repositories # apparently we must use 'url' for the install repo for livemedia-creator # point this to the install tree created by lorax url --url="ftp://ftp.ges.redhat.com/pub/fedora-secondary/releases/17/Everything/armhfp/os/" # include a local repo to get modified grubby, etc. repo --name=xpfa --baseurl="http://dmarlin.fedorapeople.org/yum/f17/armhfp/os/Packages/" # # Define how large you want your rootfs to be # bootloader --location=none zerombr clearpart --all part /boot --size 500 --fstype ext3 --label=boot part swap --size 4000 --label=swap part / --size 5000 --grow --fstype ext4 --label=rootfs # Reboot after the installation is complete. reboot # # Add all the packages after the base packages # %packages @base @core @system-tools @admin-tools @dial-up @hardware-support @printing # apparently none of the groups sets the clock. ntp ntpdate # get the uboot tools uboot-tools %end # more configuration %post --erroronfail # Install U-Boot boot.scr pushd /boot # get the root device from fstab, typically UUID= ROOTDEV=`grep -w / /etc/fstab | cut -d ' ' -f1` # setup boot.scr cat < boot.cmd setenv bootargs console=ttyAMA0 root=$ROOTDEV ro rootwait ext2load scsi 0:1 \${ramdisk_addr_r} uInitrd ext2load scsi 0:1 \${kernel_addr_r} uImage bootm \${kernel_addr_r} \${ramdisk_addr_r} \${fdt_addr} EOL /usr/bin/mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Highbank F17" -d boot.cmd boot.scr popd # datestamp this release date +F17-%Y%m%d > /etc/RELEASE %end