]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
make.sh: Mount the log directory for the correct architecture
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 Jul 2024 09:42:20 +0000 (09:42 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 8 Jul 2024 15:39:44 +0000 (15:39 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 9169a4db11d14ea8fbf9709662c233ae765bbbc3..0671387accce4c766a4b6e4cf09c4cad70a1be58 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -501,9 +501,11 @@ prepareenv() {
        mount --bind -o ro      "${BASEDIR}/html"               "${BUILD_DIR}/usr/src/html"
        mount --bind -o ro      "${BASEDIR}/langs"              "${BUILD_DIR}/usr/src/langs"
        mount --bind -o ro      "${BASEDIR}/lfs"                "${BUILD_DIR}/usr/src/lfs"
-       mount --bind            "${BASEDIR}/log"                "${BUILD_DIR}/usr/src/log"
        mount --bind -o ro      "${BASEDIR}/src"                "${BUILD_DIR}/usr/src/src"
 
+       # Mount the log directory
+       mount --bind "${LOG_DIR}"                       "${BUILD_DIR}/usr/src/log"
+
        # Mount the ccache
        mount --bind "${CCACHE_DIR}"            "${BUILD_DIR}/usr/src/ccache"