From: Jan Janssen Date: Sun, 2 Jan 2022 19:05:58 +0000 (+0100) Subject: ci: Test efi binaries for section table gaps X-Git-Tag: v251-rc1~613^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F21960%2Fhead;p=thirdparty%2Fsystemd.git ci: Test efi binaries for section table gaps --- diff --git a/.github/workflows/build_test.sh b/.github/workflows/build_test.sh index 78bc35a43b6..cd5fcac5509 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"