teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame 0019-meson-D-remote-and-D-importd-should-be-combo-options.patch

Zbigniew Jędrzejewski-Szmek 27bd1b
From 9c27ced1fac191139a131d179a25801ce9ca3357 Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 27bd1b
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Zbigniew Jędrzejewski-Szmek 27bd1b
Date: Wed, 26 Jul 2017 14:11:15 -0400
Zbigniew Jędrzejewski-Szmek 27bd1b
Subject: [PATCH] meson: -D remote and -D importd should be "combo" options
Zbigniew Jędrzejewski-Szmek 27bd1b
Zbigniew Jędrzejewski-Szmek 27bd1b
The default should be 'auto', and we allow 'true'
Zbigniew Jędrzejewski-Szmek 27bd1b
and 'false' too.
Zbigniew Jędrzejewski-Szmek 27bd1b
Zbigniew Jędrzejewski-Szmek 27bd1b
Fixes #6445.
Zbigniew Jędrzejewski-Szmek 27bd1b
Zbigniew Jędrzejewski-Szmek 27bd1b
(cherry picked from commit b1519d656691e725a8b8950fc0e6cc8d25b1016a)
Zbigniew Jędrzejewski-Szmek 27bd1b
---
Zbigniew Jędrzejewski-Szmek 27bd1b
 meson_options.txt | 4 ++--
Zbigniew Jędrzejewski-Szmek 27bd1b
 1 file changed, 2 insertions(+), 2 deletions(-)
Zbigniew Jędrzejewski-Szmek 27bd1b
Zbigniew Jędrzejewski-Szmek 27bd1b
diff --git a/meson_options.txt b/meson_options.txt
Zbigniew Jędrzejewski-Szmek 27bd1b
index 1594fec41f..b7a45d5806 100644
Zbigniew Jędrzejewski-Szmek 27bd1b
--- a/meson_options.txt
Zbigniew Jędrzejewski-Szmek 27bd1b
+++ b/meson_options.txt
Zbigniew Jędrzejewski-Szmek 27bd1b
@@ -69,7 +69,7 @@ option('timedated', type : 'boolean',
Zbigniew Jędrzejewski-Szmek 27bd1b
        description : 'install the systemd-timedated daemon')
Zbigniew Jędrzejewski-Szmek 27bd1b
 option('timesyncd', type : 'boolean',
Zbigniew Jędrzejewski-Szmek 27bd1b
        description : 'install the systemd-timesyncd daemon')
Zbigniew Jędrzejewski-Szmek 27bd1b
-option('remote', type : 'boolean',
Zbigniew Jędrzejewski-Szmek 27bd1b
+option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
Zbigniew Jędrzejewski-Szmek 27bd1b
        description : 'support for "journal over the network"')
Zbigniew Jędrzejewski-Szmek 27bd1b
 option('myhostname', type : 'boolean',
Zbigniew Jędrzejewski-Szmek 27bd1b
        description : 'nss-myhostname support')
Zbigniew Jędrzejewski-Szmek 27bd1b
@@ -87,7 +87,7 @@ option('sysusers', type : 'boolean',
Zbigniew Jędrzejewski-Szmek 27bd1b
        description : 'support for the sysusers configuration')
Zbigniew Jędrzejewski-Szmek 27bd1b
 option('tmpfiles', type : 'boolean',
Zbigniew Jędrzejewski-Szmek 27bd1b
        description : 'support for tmpfiles.d')
Zbigniew Jędrzejewski-Szmek 27bd1b
-option('importd', type : 'boolean',
Zbigniew Jędrzejewski-Szmek 27bd1b
+option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
Zbigniew Jędrzejewski-Szmek 27bd1b
        description : 'install the systemd-importd daemon')
Zbigniew Jędrzejewski-Szmek 27bd1b
 option('hwdb', type : 'boolean',
Zbigniew Jędrzejewski-Szmek 27bd1b
        description : 'support for the hardware database')