Skip to content

Commit

Permalink
contrib/zbm-sign.pl: respect EFI.ImageDir
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnnynator authored and zdykstra committed Nov 14, 2023
1 parent d7ebc84 commit 8f1570f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/zbm-sign.pl
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
if ( !$EFI_Enabled ) {
die "EFI images are disabled! Nothing to sign!";
}
my $ZBM = $EFI->{ImageDir};

my $Global = $config->{Global};
my $ESP = $Global->{BootMountPoint};

my $SecureBoot = $config->{SecureBoot} or die "No config found, please edit /etc/zfsbootmenu/config.yaml";
my $ZBM = "$ESP/EFI/zbm";
my $KeyDir = $SecureBoot->{KeyDir};
my $DeleteUnsigned = $SecureBoot->{DeleteUnsigned};
my $SignBackups = $SecureBoot->{SignBackup};
Expand Down

0 comments on commit 8f1570f

Please sign in to comment.