void-packages/srcpkgs/lxcfs/patches/no-init-script.patch

27 lines
908 B
Diff

From 975c815e5edc4fd31710b3fb78a52c65a5d66535 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 24 Nov 2022 22:31:52 +0100
Subject: [PATCH] meson: allow not installing init script
Signed-off-by: Michal Vasilek <michal@vasilek.cz>
---
meson_options.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson_options.txt b/meson_options.txt
index 5566f4c..45e2203 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -10,7 +10,7 @@ option('with-init-script', type : 'string', value : 'systemd',
description : 'the runtime directory')
option('init-script', type : 'array',
- choices : ['systemd', 'sysvinit', 'openrc', 'upstart'], value : ['systemd'],
+ choices : ['', 'systemd', 'sysvinit', 'openrc', 'upstart'], value : ['systemd'],
description : 'init script')
option('docs', type : 'boolean', value: 'true',
--
2.38.1