index : bootstrap32 | |
Archlinux32 bootstrap scripts | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | install_host.sh | 12 |
diff --git a/install_host.sh b/install_host.sh index 362502a..d531a4b 100755 --- a/install_host.sh +++ b/install_host.sh @@ -28,4 +28,16 @@ pacman --noconfirm --needed -S flex # for a bootable ISO image pacman --noconfirm --needed -S syslinux cdrtools +# some packages come from the AUR +if test "$(grep -c '\[archlinuxfr\]' /etc/pacman.conf)" = 0; then + cat >> /etc/pacman.conf <<EOF +[archlinuxfr] +Server = http://repo.archlinux.fr/\$arch +SigLevel = Optional DatabaseOptional +EOF + + pacman --noconfirm -Syy + pacman --noconfirm -S --needed yaourt +fi + echo "Host ready." |