mirror of
https://github.com/flatcar/scripts.git
synced 2026-04-02 12:12:16 +02:00
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 <jlecuirot@microsoft.com>
This commit is contained in:
parent
ecaeb46687
commit
bcdd3950f6
@ -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}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user