summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-01-17 12:14:13 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-01-17 14:30:02 +0100
commit0eb635ef4bc11792cd4ef384ae252a2c7fd4122a (patch)
tree3141c5fff806922fd8b8e37125b935552b301f09 /units
parentb895aa5ff5c56e88756dfa04efc76e30cb8b0841 (diff)
downloadsystemd-0eb635ef4bc11792cd4ef384ae252a2c7fd4122a.tar.gz
units: don't install pcrphase-related units without gnu-efi
since we don't have systemd-pcrphase built anyway, which breaks the tests: ... I: Attempting to install /usr/lib/systemd/systemd-networkd-wait-online (based on unit file reference) I: Attempting to install /usr/lib/systemd/systemd-network-generator (based on unit file reference) I: Attempting to install /usr/lib/systemd/systemd-oomd (based on unit file reference) I: Attempting to install /usr/lib/systemd/systemd-pcrphase (based on unit file reference) W: Failed to install '/usr/lib/systemd/systemd-pcrphase' make: *** [Makefile:4: setup] Error 1 make: Leaving directory '/root/systemd/test/TEST-01-BASIC' Follow-up to 04959faa632272a8fc9cdac3121b2e4af721c1b6.
Diffstat (limited to 'units')
-rw-r--r--units/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/meson.build b/units/meson.build
index d59796b62b..c7939a10f8 100644
--- a/units/meson.build
+++ b/units/meson.build
@@ -267,8 +267,8 @@ in_units = [
'sysinit.target.wants/'],
['systemd-pcrmachine.service', 'HAVE_GNU_EFI HAVE_OPENSSL HAVE_TPM2',
'sysinit.target.wants/'],
- ['systemd-pcrfs-root.service', ''],
- ['systemd-pcrfs@.service', ''],
+ ['systemd-pcrfs-root.service', 'HAVE_GNU_EFI HAVE_OPENSSL HAVE_TPM2'],
+ ['systemd-pcrfs@.service', 'HAVE_GNU_EFI HAVE_OPENSSL HAVE_TPM2'],
['systemd-growfs-root.service', ''],
['systemd-growfs@.service', ''],
]