[buildarmpkg] ignore arch=() in PKGBUILDs

Ignoring the arch=() array in PKGBUILDs have some advantages.
Like it won't fail to build after it creates the rootfs, just because aarch64 is not in arch array.
It could also potentially make this useful if we want to do automatic builds from Arch at some point.
Signed-off-by: Dan Johansen's avatarDan Johansen <strit@manjaro.org>
parent 2db8c9bb
......@@ -514,7 +514,7 @@ build_pkg() {
mount -o bind "$PACKAGE" $BUILDDIR/$ARCH/build
msg "Building {$PACKAGE}..."
mount -o bind /var/cache/manjaro-arm-tools/pkg/pkg-cache $BUILDDIR/$ARCH/var/cache/pacman/pkg
$NSPAWN $BUILDDIR/$ARCH/ --chdir=/build/ makepkg -sc --noconfirm
$NSPAWN $BUILDDIR/$ARCH/ --chdir=/build/ makepkg -Asc --noconfirm
umount $BUILDDIR/$ARCH/var/cache/pacman/pkg
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment