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:
parent
2c99c39936
commit
1598b41054
6
.github/workflows/build_test.sh
vendored
6
.github/workflows/build_test.sh
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user