From 0bf4cdbb4a8d2411968b007b3b420c5c84af17c6 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 9 Jul 2024 10:18:23 +0000 Subject: [PATCH] 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 --- make.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/make.sh b/make.sh index 1d65e4ecd..d436867dc 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 -- 2.39.5