Commit e46fa12d authored by Guido Gunther's avatar Guido Gunther
Browse files

build-image: Create meta.yml early

This makes sure it belongs to the user running the build process.  If we
create it during it will belong to root and not be writeable
later on when we want to indicate a tainted image.

Closes: #31
parent fd942392
Pipeline #3339 passed with stage
in 22 seconds
......@@ -144,7 +144,9 @@ echo "Installing extra packages ${packages}"
[ -z "${board_packages}" ] || echo "Installing extra board specific packages ${board_packages}"
mkdir -p tmp/ files/
rm -f "./tmp/${pureos_board}-report.log" "${meta_yml}"
rm -f "./tmp/${pureos_board}-report.log"
# Create meta.yml here so it belongs to the user running image-builder
echo > "${meta_yml}"
if [ "${build_type}" == "latest" ]; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment