Commit 2e2179f2 authored by Bob Ham's avatar Bob Ham

Merge branch 'check-install-report' into 'master'

Fail when we don't find an installation report

See merge request Librem5/image-builder!63
parents fd0d2d51 e2090090
Pipeline #3018 passed with stage
in 13 seconds
......@@ -128,6 +128,7 @@ echo "Installing extra board specific packages ${board_packages}"
mkdir -p tmp/ files/
echo -n > files/meta.yml
rm -f "./tmp/${pureos_board}-report.log"
if [ "${build_type}" == "latest" ]; then
fetch_latest_kernel
......@@ -202,6 +203,8 @@ if [ "${arch}" == "arm64" ]; then
sudo losetup -d "${loop}"
fi
[ -f "./tmp/${pureos_board}-report.log" ] || { echo "No install report found."; exit 1; }
if [ "${want_qcow2}" == 1 ]; then
qcow2="$(basename "${bootimg}" .img)".qcow2
qemu-img convert -f raw -O qcow2 "${bootimg}" "${qcow2}"
......
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