From 4b6240adc2c93e81457f7104262edb3aa2ba0231 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 15 Feb 2022 17:22:15 +0100 Subject: [PATCH] openrc: Make init scripts executable on install When installing openrc init scripts, we take whatever mode the generated files are in an copy them under /etc/init.d/. This is not ideal, because those files are not executable and they should be. Resolves: https://gitlab.com/libvirt/libvirt/-/issues/250 Signed-off-by: Michal Privoznik Reviewed-by: Ani Sinha Reviewed-by: Andrea Bolognani --- src/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meson.build b/src/meson.build index 3890df7124..b2d951d36c 100644 --- a/src/meson.build +++ b/src/meson.build @@ -848,6 +848,7 @@ if conf.has('WITH_LIBVIRTD') install_data( init_file, install_dir: sysconfdir / 'init.d', + install_mode: 'rwxr-xr-x', rename: [ init['name'] ], )