Skip to content

Commit

Permalink
improve logging
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
  • Loading branch information
mkopec committed Nov 21, 2023
1 parent 3bda092 commit 4626870
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/dbx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ jobs:

- name: Check if DBX is up-to-date
run: |
wget https://uefi.org/sites/default/files/resources/x64_DBXUpdate.bin
echo 'Fetching DBX from uefi.org'
wget https://uefi.org/sites/default/files/resources/x64_DBXUpdate.bin -o /dev/null
if [ $? -ne 0 ]; then
echo 'Failed to fetch latest DBX.'
exit 1
fi
diff <(sha256sum x64_DBXUpdate.bin | awk '{ print $1'}) <(sha256sum UefiPayloadPkg/SecureBootDefaultKeys/DBXUpdate.bin | awk '{ print $1'})
if [ $? -ne 0 ]; then
echo 'UEFI DBX is out of date.'
Expand Down

0 comments on commit 4626870

Please sign in to comment.