armbian-next: always include libc6-amd64-cross in hostdeps; qemu is a dummy package now, remove

This commit is contained in:
Ricardo Pardini 2022-10-12 00:52:27 +02:00
parent d24d3327a8
commit bb0e89f017
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02

View File

@ -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