From bcdd3950f6b56e409a6a36771c47aa148c0fda2c Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 18 Mar 2026 23:19:11 +0000 Subject: [PATCH] build_toolchains: Create /tmp in root overlay with correct permissions Otherwise the "portage" user cannot write there, causing build failures. Signed-off-by: James Le Cuirot --- build_toolchains | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_toolchains b/build_toolchains index b5076d3f7c..32b62bfabf 100755 --- a/build_toolchains +++ b/build_toolchains @@ -51,7 +51,7 @@ ROOT_OVERLAY="${TEMPDIR}/stage4-${ARCH}-$FLAGS_version-overlay" # toolchain_util.sh and break_dep_loop.sh are required by # catalyst_toolchains.sh -mkdir -p "${ROOT_OVERLAY}/tmp" +mkdir -p -m1777 "${ROOT_OVERLAY}/tmp" cp "${BUILD_LIBRARY_DIR}/toolchain_util.sh" "${BUILD_LIBRARY_DIR}/break_dep_loop.sh" "${ROOT_OVERLAY}/tmp" create_provenance_overlay "${ROOT_OVERLAY}"