if ! [[ -d $1 ]]; then
die "$0: Source doesn't exist or is not directory: ${(qqq)1}"
fi
init-build-dir-vars
eval $(getvars build_dir changes_dir work_dir prev_fstab)
output-dir $changes_dir
output-dir $work_dir
mkdir -p $build_dir || \
die "$0: Could not create build directory ${(qqq)build_dir}"
local fstab_add
fstab_add=$(build-overlay-fstab "$1") || die "$0: build-overlay-fstab failed"
fstab-add-and-mount "$fstab_add"
# vim: fileencoding=utf8 ft=zsh noet sw=4 ts=4 sts=4