Remove use of setarch for arm64

Fixes #572
This commit is contained in:
XECDesign 2021-12-22 15:43:06 +00:00 committed by GitHub
parent 14a28a729e
commit 45b4cc19d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ on_chroot() {
mount --bind /sys "${ROOTFS_DIR}/sys"
fi
setarch linux32 capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@"
capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@"
}
export -f on_chroot