Skip to content

Commit 9d3a68c

Browse files
committed
updated log to dump the verity command when failed
1 parent 109714a commit 9d3a68c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/image/imageos/imageos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ func buildUKI(installRoot, kernelPath, initrdPath, cmdlineFile, outputPath strin
12311231
envVars := []string{"TMPDIR=/tmp"}
12321232
_, err = shell.ExecCmd(cmd, true, installRoot, envVars)
12331233
if err != nil {
1234-
log.Errorf("Failed to build UKI with veritysetup: %v", err)
1234+
log.Errorf("Failed to build UKI with veritysetup: %v failing command: %s", err,cmd)
12351235
err = fmt.Errorf("failed to build UKI with veritysetup: %w", err)
12361236
}
12371237
installRoot = backInstallRoot

0 commit comments

Comments
 (0)