File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 22
33set -e
44
5- edk_workspace=payloads/external/edk2/workspace
6- edk_tools=${edk_workspace} /Dasharo/ BaseTools/BinWrappers/PosixLike
7- edk_scripts=${edk_workspace} /Dasharo/ BaseTools/Scripts
5+ edk_workspace=${EDK_WORKSPACE :- payloads/ external/ edk2/ workspace/ Dasharo}
6+ edk_tools=${edk_workspace} /BaseTools/BinWrappers/PosixLike
7+ edk_scripts=${edk_workspace} /BaseTools/Scripts
88
99function die() {
1010 echo error: " $@ " 1>&2
128128 echo 01 > test-ca/serial
129129
130130 openssl x509 -in root.pub.pem -out root.cer -outform DER
131- python " ${OLDPWD} /${edk_scripts} /BinToPcd.py" \
131+ cd ..
132+ python " ${edk_scripts} /BinToPcd.py" \
132133 -p gFmpDevicePkgTokenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr \
133- -i root.cer -x -o CapsuleRootKey.inc
134+ -i $dir /root.cer -x -o CapsuleRootKey.inc
135+ cd " $dir "
134136
135137 print_banner ' Making subroot certificate'
136138
You can’t perform that action at this time.
0 commit comments