b85a3305e7
SL-Micro to the image booting with TPM2 unsealing (bsc#1210382) * 769e41d Limit the removable option to encrypted SL-Micro OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim?expand=0&rev=216
13 lines
167 B
Bash
13 lines
167 B
Bash
#!/bin/bash
|
|
# show hash of PE binary
|
|
set -e
|
|
|
|
infile="$1"
|
|
|
|
if [ -z "$infile" -o ! -e "$infile" ]; then
|
|
echo "USAGE: $0 file.efi"
|
|
exit 1
|
|
fi
|
|
|
|
pesign -h -P -i "$infile"
|