summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXECDesign <XECDesign@users.noreply.github.com>2021-12-22 15:43:06 +0000
committerGitHub <noreply@github.com>2021-12-22 15:43:06 +0000
commit45b4cc19d0fe9ccf69220ceab4aa67f47de263c9 (patch)
tree51992f4090a94ac8c4bd4608a29806a4e36cbbbf
parent14a28a729ee510394e12ee8fc35fb68a6dc33b15 (diff)
Remove use of setarch for arm64
Fixes #572
-rw-r--r--scripts/common2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/common b/scripts/common
index 690403f..394b398 100644
--- a/scripts/common
+++ b/scripts/common
@@ -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