From: Michael Tremer Date: Tue, 9 Jul 2024 10:18:23 +0000 (+0000) Subject: make.sh: Install the QEMU helper only once X-Git-Tag: v2.29-core188~10^2~314 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92a2ed67bee36654eb404a1105d6bae87c42905c;p=ipfire-2.x.git make.sh: Install the QEMU helper only once This needs to be done only once when we initialize the environment. Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index 1d65e4ecdf..d436867dcf 100755 --- a/make.sh +++ b/make.sh @@ -574,6 +574,9 @@ prepareenv() { export CCACHE_TEMPDIR="/tmp" export CCACHE_COMPILERCHECK="string:toolchain-${TOOLCHAINVER} ${BUILD_ARCH}" + # Install the QEMU helper + qemu_install_helper + # Remove pre-install list of installed files in case user erase some files before rebuild rm -f "${BUILD_DIR}/usr/src/lsalr" @@ -615,9 +618,6 @@ prepareenv() { } enterchroot() { - # Install QEMU helper, if needed - qemu_install_helper - local PATH="${TOOLS_DIR}/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin:${TOOLS_DIR}/sbin:${TOOLS_DIR}/bin" # Check if we are running in our namespace