mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00: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(
|
install_data(
|
||||||
init_file,
|
init_file,
|
||||||
install_dir: sysconfdir / 'init.d',
|
install_dir: sysconfdir / 'init.d',
|
||||||
|
install_mode: 'rwxr-xr-x',
|
||||||
rename: [ init['name'] ],
|
rename: [ init['name'] ],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user