1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00

ci: Test efi binaries for section table gaps

(cherry picked from commit bbbf1c3d32)
This commit is contained in:
Jan Janssen 2022-01-02 20:05:58 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 2c99c39936
commit 1598b41054

View File

@ -131,6 +131,12 @@ for args in "${ARGS[@]}"; do
fatal "'meson compile' failed with $args"
fi
for loader in build/src/boot/efi/*.efi; do
if sbverify --list "$loader" |& grep -q "gap in section table"; then
fatal "$loader: Gaps found in section table"
fi
done
git clean -dxf
success "Build with $args passed in $SECONDS seconds"