diff options
author | Jan Janssen <medhefgo@web.de> | 2022-01-02 20:05:58 +0100 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2022-01-02 20:05:58 +0100 |
commit | bbbf1c3d3229d328f1bcbf039db8e15e221a1d85 (patch) | |
tree | 5acb6dcc324b9699e68b4f50afc4f752a6a25c34 /.github | |
parent | boot: Use objcopy to align sections (diff) | |
download | systemd-bbbf1c3d3229d328f1bcbf039db8e15e221a1d85.tar.xz systemd-bbbf1c3d3229d328f1bcbf039db8e15e221a1d85.zip |
ci: Test efi binaries for section table gaps
Diffstat (limited to '.github')
-rwxr-xr-x | .github/workflows/build_test.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/build_test.sh b/.github/workflows/build_test.sh index 78bc35a43b..cd5fcac550 100755 --- a/.github/workflows/build_test.sh +++ b/.github/workflows/build_test.sh @@ -132,6 +132,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" |