summaryrefslogtreecommitdiff
path: root/install_host.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-01-28 18:25:52 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-01-28 18:25:52 +0100
commit37be8f73669ddadf2259656f656af5f5c5bc39b9 (patch)
tree68fea63a95500245869ebac5537dda5c4401490f /install_host.sh
parent164181c1589942d9d1c8e1bf6cbba76974b7e1c7 (diff)
downloadbootstrap32-37be8f73669ddadf2259656f656af5f5c5bc39b9.tar.xz
added package descriptions for stage1
added stage1 build script shellchecked all scripts
Diffstat (limited to 'install_host.sh')
-rwxr-xr-xinstall_host.sh12
1 files changed, 12 insertions, 0 deletions
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."