4eda52
From 8f08b876d44d96b3f255ac5275a1daa3ccf9a801 Mon Sep 17 00:00:00 2001
4295f9
From: Frantisek Sumsal <frantisek@sumsal.cz>
4295f9
Date: Tue, 21 Sep 2021 22:47:42 +0200
4295f9
Subject: [PATCH] unit: install the systemd-bless-boot.service only if we have
4295f9
 gnu-efi
4295f9
4295f9
Follow-up to #20591.
4295f9
4295f9
(cherry picked from commit 220261ef940a126588b20a1765a2501811473839)
4295f9
4eda52
Related: #2003130
4295f9
---
4295f9
 units/meson.build | 2 +-
4295f9
 1 file changed, 1 insertion(+), 1 deletion(-)
4295f9
4295f9
diff --git a/units/meson.build b/units/meson.build
4295f9
index 27a2b60137..e06d883cd2 100644
4295f9
--- a/units/meson.build
4295f9
+++ b/units/meson.build
4295f9
@@ -179,7 +179,7 @@ in_units = [
4295f9
         ['systemd-backlight@.service',           'ENABLE_BACKLIGHT'],
4295f9
         ['systemd-binfmt.service',               'ENABLE_BINFMT',
4295f9
          'sysinit.target.wants/'],
4295f9
-        ['systemd-bless-boot.service',           'ENABLE_EFI HAVE_BLKID'],
4295f9
+        ['systemd-bless-boot.service',           'HAVE_GNU_EFI HAVE_BLKID'],
4295f9
         ['systemd-boot-check-no-failures.service', ''],
4295f9
         ['systemd-coredump@.service',            'ENABLE_COREDUMP'],
4295f9
         ['systemd-pstore.service',               'ENABLE_PSTORE'],