ndctl/0002-exclude-cxl_monitor_service.patch
wuyifeng a7f53337ab fix delete monitor.service
Signed-off-by: wuyifeng <wuyifeng10@huawei.com>
(cherry picked from commit 1c0adc89486fd32574ab3c0154cca027b7a92f86)
2024-04-12 15:41:02 +08:00

16 lines
339 B
Diff

diff --git a/cxl/meson.build b/cxl/meson.build
index 61b4d87..9792158 100644
--- a/cxl/meson.build
+++ b/cxl/meson.build
@@ -12,8 +12,10 @@ cxl_src = [
]
if get_option('systemd').enabled()
+if get_option('libtracefs').enabled()
install_data('cxl-monitor.service', install_dir : systemdunitdir)
endif
+endif
deps = [
cxl_dep,