mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
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 <mprivozn@redhat.com> Reviewed-by: Ani Sinha <ani@anisinha.ca> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
5cba53db57
commit
4b6240adc2
@ -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'] ],
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user