#!/bin/bash -ex cd "$(dirname "$0")" cat config ../src/lib.sh src/install.sh | arch-chroot /mnt/ bash -ex