pull/426/merge
Aaron Dewes 2020-08-09 10:35:12 +02:00 committed by GitHub
commit 7f6291922b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
quilt quilt
parted parted
realpath:coreutils realpath:coreutils
qemu-arm-static:qemu-user-static qemu-aarch64-static:qemu-user-static
debootstrap debootstrap
zerofree zerofree
zip zip

View File

@ -9,7 +9,7 @@ bootstrap(){
#export http_proxy=${APT_PROXY} #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 BOOTSTRAP_CMD=qemu-debootstrap
fi fi
@ -91,7 +91,7 @@ on_chroot() {
mount --bind /sys "${ROOTFS_DIR}/sys" mount --bind /sys "${ROOTFS_DIR}/sys"
fi fi
setarch linux32 capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@" capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@"
} }
export -f on_chroot export -f on_chroot