# Archlinux AIF config file # created by Dave Simons # 11/07/2011 # install source SOURCE=cd FILE_URL=file:///src/core/pkg # time/date HARDWARECLOCK=localtime TIMEZONE=Europe/Brussels # packages to install TARGET_GROUPS=base TARGET_PACKAGES='sudo openssh vim ruby kernel26-headers make gcc' TARGET_PACKAGES_EXCLUDE='nano emacs wpa_supplicant xfsprogs reiserfsprogs pcmciautils mdadm jfsutils cryptsetup lvm2' # hard drive setup GRUB_DEVICE='/dev/sda' PARTITIONS='/dev/sda 100:ext2:+ 512:swap *:ext4' BLOCKDATA='/dev/sda1 raw no_label ext2;yes;/boot;target;no_opts;no_label;no_params /dev/sda2 raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params /dev/sda3 raw no_label ext4;yes;/;target;no_opts;no_label;no_params' worker_install_bootloader () { cat << EOF > /mnt/boot/grub/device.map (hd0) /dev/sda EOF grub-install $var_GRUB_DEVICE --root-directory=/mnt || return 1 bootdev=$(mount|grep $var_TARGET_DIR/boot|cut -d' ' -f1) generate_grub_menulst || return 1 }