Image upload AWS

This commit is contained in:
Malte Poll 2022-10-17 17:39:49 +02:00 committed by Malte Poll
parent 0c297f7b10
commit b57b25fdaa
6 changed files with 254 additions and 12 deletions

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
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}"