mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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 <michael.tremer@ipfire.org>
This commit is contained in:
6
make.sh
6
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
|
||||
|
||||
Reference in New Issue
Block a user