fix SD image CI: use find -L to follow symlinks in Nix store
All checks were successful
CI / flake-check (pull_request) Successful in 35s
CI / build-hosts (pull_request) Successful in 34s

The built image is a symlink in the Nix store. find with -type f
skips symlinks, causing 'No image found' error.
This commit is contained in:
steffen 2026-03-14 15:38:42 +01:00
parent c141e22feb
commit db260115a9

View file

@ -46,7 +46,7 @@ jobs:
--extra-platforms aarch64-linux \ --extra-platforms aarch64-linux \
--out-link result-${{ matrix.host }} --out-link result-${{ matrix.host }}
IMAGE_PATH=$(find result-${{ matrix.host }} -name "*.img.zst" -type f | head -1) IMAGE_PATH=$(find -L result-${{ matrix.host }} -name "*.img.zst" | head -1)
if [ -z "$IMAGE_PATH" ]; then if [ -z "$IMAGE_PATH" ]; then
echo "Error: No image found!" echo "Error: No image found!"
exit 1 exit 1