mirror of
https://github.com/kairos-io/kcrypt.git
synced 2025-04-26 19:01:02 +00:00
Add label to trusted boot part as well
Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
parent
1678489f4f
commit
9ce82c2059
@ -128,6 +128,7 @@ func LuksifyMeasurements(label string, publicKeyPcrs []string, pcrs []string, lo
|
||||
device := fmt.Sprintf("/dev/%s", part)
|
||||
|
||||
extraArgs := []string{"--uuid", uuid.NewV5(uuid.NamespaceURL, label).String()}
|
||||
extraArgs = append(extraArgs, "--label", label)
|
||||
extraArgs = append(extraArgs, argsCreate...)
|
||||
|
||||
if err := CreateLuks(device, pass, extraArgs...); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user