#!/bin/sh
set -e
systemd-nspawn -a -M pkg-builder64-$$ --volatile=overlay --bind=/sources \
--overlay=/build-core::/mnt/armlfs \
--bind-ro=/var/lib/pacman/sync:/mnt/armlfs/var/lib/pacman/sync \
--bind=/buildcore64/var/cache/pacman/pkg:/var/cache/pacman/pkg \
-D /buildcore64 /bin/bash -