image: pin aws uefivars version and install new deps (#1345)

This commit is contained in:
Malte Poll 2023-03-06 13:29:15 +01:00 committed by GitHub
parent c94d1db76d
commit 1624af0cc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -397,7 +397,8 @@ jobs:
sudo apt-get install -y \
pigz \
qemu-utils \
python3-crc32c
python3-pip
pip install google_crc32c
echo "::endgroup::"
- name: Login to AWS

View File

@ -4,7 +4,8 @@ set -euo pipefail
shopt -s inherit_errexit
TMPDIR=$(mktemp -d /tmp/uefivars-XXXXXXXXXXXXXX)
git clone https://github.com/awslabs/python-uefivars "${TMPDIR}"
git clone --branch v1.0.0 https://github.com/awslabs/python-uefivars "${TMPDIR}"
cd "${TMPDIR}" && git reset 9679002a4392d8e7831d2dbda3fab41ccc5c6b8c --hard
"${TMPDIR}/uefivars.py" -i none -o aws -O "$1" -P "${PKI}"/PK.esl -K "${PKI}"/KEK.esl --db "${PKI}"/db.esl