We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents abf22e5 + 5941d91 commit 8ed7b64Copy full SHA for 8ed7b64
1 file changed
layers/build-krd/dracut/soci/soci-settled.sh
@@ -228,7 +228,9 @@ soci_udev_settled() {
228
soci_info "Preinstall completed"
229
;;
230
provision)
231
- soci_log_run tpm2_pcrread sha256:7 -o /sysroot/pcr7.bin > /sysroot/pcr7.out
+ if [ ! -f /sysroot/pcr7.bin ]; then
232
+ soci_log_run tpm2_pcrread sha256:7 -o /sysroot/pcr7.bin > /sysroot/pcr7.out
233
+ fi
234
soci_log_run tpm2_pcrextend "7:sha256=b7135cbb321a66fa848b07288bd008b89bd5b7496c4569c5e1a4efd5f7c8e0a7"
235
soci_info "PCR7 has been extended. Ready to provision."
236
0 commit comments