From bb0e89f0175e7a8742cb64cb4d80367f2b3caf15 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Wed, 12 Oct 2022 00:52:27 +0200 Subject: [PATCH] armbian-next: always include `libc6-amd64-cross` in hostdeps; `qemu` is a dummy package now, remove --- lib/functions/host/prepare-host.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/functions/host/prepare-host.sh b/lib/functions/host/prepare-host.sh index d7493d7b2f..1ee35676c2 100644 --- a/lib/functions/host/prepare-host.sh +++ b/lib/functions/host/prepare-host.sh @@ -212,12 +212,9 @@ function early_prepare_host_dependencies() { crossbuild-essential-armhf crossbuild-essential-armel # for ARM 32-bit, both HF and EL are needed in some cases. crossbuild-essential-arm64 # For ARM 64-bit, arm64. crossbuild-essential-amd64 # For AMD 64-bit, x86_64. + libc6-amd64-cross # Support for running x86 binaries (under qemu on other arches) ) - if [[ $(dpkg --print-architecture) == arm64 ]]; then - host_dependencies+=(libc6-amd64-cross qemu) # Support for running x86 binaries on ARM64 under qemu. - fi - # warning: apt-cacher-ng will fail if installed and used both on host and in container/chroot environment with shared network # set NO_APT_CACHER=yes to prevent installation errors in such case if [[ $NO_APT_CACHER != yes ]]; then