index : bootstrap32 | |
Archlinux32 bootstrap scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-01-28 18:25:52 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-01-28 18:25:52 +0100 |
commit | 37be8f73669ddadf2259656f656af5f5c5bc39b9 (patch) | |
tree | 68fea63a95500245869ebac5537dda5c4401490f /install_host.sh | |
parent | 164181c1589942d9d1c8e1bf6cbba76974b7e1c7 (diff) |
-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." |