mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-28 08:59:34 -05:00
7aa7492474
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
12 lines
307 B
Bash
Executable File
12 lines
307 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
shopt -s inherit_errexit
|
|
|
|
TMPDIR=$(mktemp -d /tmp/uefivars-XXXXXXXXXXXXXX)
|
|
git clone https://github.com/awslabs/python-uefivars "${TMPDIR}"
|
|
|
|
"${TMPDIR}/uefivars.py" -i none -o aws -O "$1" -P "${PKI}"/PK.esl -K "${PKI}"/KEK.esl --db "${PKI}"/db.esl
|
|
|
|
rm -rf "${TMPDIR}"
|