compressFirmwareXz: fail on broken symlinks

This would have caught the last two issues we had with compression.
This commit is contained in:
Alyssa Ross
2024-01-28 11:57:37 +01:00
parent a136def4f7
commit 24bb06069f
@@ -21,4 +21,7 @@ runCommand "${firmware.name}-xz" args ''
ln -vs -- "''${target/^${firmware}/$out}" "$out/$link"
fi
done
echo "Checking for broken symlinks:"
find -L $out -type l -print -execdir false -- '{}' '+'
''