summaryrefslogtreecommitdiff
path: root/install_host.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-12 20:58:17 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-12 20:58:17 +0100
commitde11dde1ed2ee7892b9e79d404448a965ed0e8dc (patch)
tree0f948d5acb0a71906863c93ece12f95d4ddfb06d /install_host.sh
parent9c18afe15a8138ed7e85fdd0ce84db505e234467 (diff)
downloadbootstrap32-de11dde1ed2ee7892b9e79d404448a965ed0e8dc.tar.xz
added syslinux
Diffstat (limited to 'install_host.sh')
-rwxr-xr-xinstall_host.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/install_host.sh b/install_host.sh
index 1a7076e..c2a9c54 100755
--- a/install_host.sh
+++ b/install_host.sh
@@ -34,6 +34,13 @@ pacman --noconfirm --needed -S syslinux cdrtools
# for building a hard disk image
pacman --noconfirm --needed -S qemu
+# for building syslinux (Intel only)
+case $BUILD_CPU in
+ i*86|x86_64)
+ pacman --noconfirm --needed -S nasm
+ ;;
+esac
+
# some packages come from the AUR
if test "$(grep -c '\[archlinuxfr\]' /etc/pacman.conf)" = 0; then
cat >> /etc/pacman.conf <<EOF