We're about to introduce another user of the value in a
different scope.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
meson.build | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 8da987b1cb..8848e58995 100644
--- a/meson.build
+++ b/meson.build
@@ -24,6 +24,11 @@ if git and not get_option('no_git')
endif
+# detect operating system
+
+os_release = run_command('grep', '-E', '^ID(_LIKE)*=',
'/etc/os-release', check: false).stdout()
+
+
# prepare build configuration data
conf = configuration_data()
@@ -1618,7 +1623,6 @@ if not get_option('driver_qemu').disabled()
qemu_user = 'root'
qemu_group = 'wheel'
else
- os_release = run_command('grep', '-E', '^ID(_LIKE)*=',
'/etc/os-release', check: false).stdout()
if os_release.contains('arch')
qemu_user = 'nobody'
qemu_group = 'nobody'
--
2.40.1