From d1e1331c3d36a1900683c029c70fb431448fe5f6 Mon Sep 17 00:00:00 2001 From: Aaron Dewes Date: Fri, 3 Jul 2020 16:46:19 +0200 Subject: [PATCH 1/2] Fix depends for arm64 --- depends | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depends b/depends index a86bc82..d544ad8 100644 --- a/depends +++ b/depends @@ -1,7 +1,7 @@ quilt parted realpath:coreutils -qemu-arm-static:qemu-user-static +qemu-aarch64-static:qemu-user-static debootstrap zerofree zip From 855de6fdc49513b8f9da7c0d4a769640efdae72b Mon Sep 17 00:00:00 2001 From: Aaron Dewes Date: Sun, 9 Aug 2020 10:35:07 +0200 Subject: [PATCH 2/2] Update common --- scripts/common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/common b/scripts/common index 6586052..492c570 100644 --- a/scripts/common +++ b/scripts/common @@ -9,7 +9,7 @@ bootstrap(){ #export http_proxy=${APT_PROXY} - if [ "$(dpkg --print-architecture)" != "armhf" ] && [ "$(dpkg --print-architecture)" != "arm64" ]; then + if [ "$(dpkg --print-architecture)" != "arm64" ]; then BOOTSTRAP_CMD=qemu-debootstrap fi @@ -91,7 +91,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