arch-nspawn: arm fix

This commit is contained in:
Kevin Mihelich 2014-12-28 22:33:00 -07:00 committed by Martchus
parent 7ab36cedc6
commit cb79cd540d
2 changed files with 2 additions and 2 deletions

View File

@ -138,4 +138,4 @@ else
set_arch="${CARCH}"
fi
exec ${CARCH:+setarch "$set_arch"} systemd-nspawn "${nspawn_args[@]}" "$@"
exec systemd-nspawn "${nspawn_args[@]}" "$@"

View File

@ -244,7 +244,7 @@ download_sources() {
# Ensure sources are downloaded
sudo -u "$makepkg_user" --preserve-env=GNUPGHOME,SSH_AUTH_SOCK \
env SRCDEST="$SRCDEST" BUILDDIR="$WORKDIR" \
makepkg --config="$copydir/etc/makepkg.conf" --verifysource -o "${verifysource_args[@]}" ||
makepkg -A --config="$copydir/etc/makepkg.conf" --verifysource -o "${verifysource_args[@]}" ||
die "Could not download sources."
}