Skip to content
Snippets Groups Projects
Commit 2a576810 authored by Natanael Copa's avatar Natanael Copa
Browse files

scripts/mkimage.sh: fix yaml on re-run

create yaml even if file already exists. This solves the problem of yaml
entry disapearing from latest-release.yaml on a re-run. the yaml is
recreated so we need to recreate every yaml, not only for the images
that are rebuilt.
parent 81f6a074
No related branches found
No related tags found
1 merge request!39304[3.16] main/expat: security upgrade to 2.4.9
...@@ -217,13 +217,12 @@ build_profile() { ...@@ -217,13 +217,12 @@ build_profile() {
echo "$(${_c}sum "$output_file" | cut -d' ' -f1) ${output_filename}" > "${output_file}.${_c}" echo "$(${_c}sum "$output_file" | cut -d' ' -f1) ${output_filename}" > "${output_file}.${_c}"
done done
fi fi
fi
if [ -n "$_yaml_out" ]; then if [ -n "$_yaml_out" ]; then
$mkimage_yaml --release $RELEASE \ $mkimage_yaml --release $RELEASE \
--title "$title" \ --title "$title" \
--desc "$desc" \ --desc "$desc" \
"$output_file" >> "$_yaml_out" "$output_file" >> "$_yaml_out"
fi
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment