diff options
-rw-r--r-- | meta-efi-secure-boot/recipes-bsp/efitools/efitools.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-efi-secure-boot/recipes-bsp/efitools/efitools.inc b/meta-efi-secure-boot/recipes-bsp/efitools/efitools.inc index d544675..9f4bec4 100644 --- a/meta-efi-secure-boot/recipes-bsp/efitools/efitools.inc +++ b/meta-efi-secure-boot/recipes-bsp/efitools/efitools.inc | |||
@@ -61,6 +61,9 @@ do_install() { | |||
61 | } | 61 | } |
62 | 62 | ||
63 | fakeroot python do_sign_class-target() { | 63 | fakeroot python do_sign_class-target() { |
64 | if d.getVar('GRUB_SIGN_VERIFY', True) != '1': | ||
65 | return | ||
66 | |||
64 | image_dir = d.getVar('D', True) | 67 | image_dir = d.getVar('D', True) |
65 | efi_boot_path = d.getVar('EFI_BOOT_PATH', True) | 68 | efi_boot_path = d.getVar('EFI_BOOT_PATH', True) |
66 | uks_boot_sign(os.path.join(image_dir + efi_boot_path, 'LockDown.efi'), d) | 69 | uks_boot_sign(os.path.join(image_dir + efi_boot_path, 'LockDown.efi'), d) |