Commit e46fa12d authored by Guido Günther's avatar Guido Günther

build-image: Create meta.yml early

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

Closes: #31
parent fd942392
......@@ -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
fetch_latest_kernel
......
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