Update prepare-host.sh

I don't know. This doesn't feel right. The package exists in Jammy, Noble and Bookworm in both amd64 and arm64 variants so should be good...though it is probably not needed in all constellations. 
Still it is part of the toolchain and not generic packages. If this gets merged as it is this should be revisited.
This commit is contained in:
Werner 2025-04-19 08:20:31 +00:00 committed by Igor
parent 5b6d5b9da1
commit 1c0e3c9b0d

View File

@ -203,6 +203,7 @@ function adaptative_prepare_host_dependencies() {
udev # causes initramfs rebuild, but is usually pre-installed.
uuid-dev
zlib1g-dev
gcc-arm-linux-gnueabi # necessary for rockchip64 (and maybe other too) ATF compilation
# by-category below
file tree expect # logging utilities; expect is needed for 'unbuffer' command
@ -236,11 +237,6 @@ function adaptative_prepare_host_dependencies() {
display_alert "Python2 not available on host release '${host_release}'" "ancient u-boot versions might/will fail to build" "info"
fi
# Noble lacks gcc-arm-linux-gnueabi for unknown reason causing ATF compile to fail
if [[ "noble" == *"${host_release}"* ]]; then
host_dependencies+=("gcc-arm-linux-gnueabi")
fi
# Only install acng if asked to.
if [[ "${MANAGE_ACNG}" == "yes" ]]; then
host_dependencies+=("apt-cacher-ng")
@ -258,7 +254,7 @@ function adaptative_prepare_host_dependencies() {
fi
if [[ "${wanted_arch}" == "armhf" || "${wanted_arch}" == "all" ]]; then
host_dependencies+=("gcc-arm-linux-gnueabihf" "gcc-arm-linux-gnueabi") # from crossbuild-essential-armhf crossbuild-essential-armel
host_dependencies+=("gcc-arm-linux-gnueabihf") # from crossbuild-essential-armhf crossbuild-essential-armel
fi
if [[ "${wanted_arch}" == "riscv64" || "${wanted_arch}" == "all" ]]; then