]> TLD Linux GIT Repositories - packages/libvirt.git/blob - libvirt-sysctl-dir.patch
7819d6117a51438913293d9f27e27e1d91c3b449
[packages/libvirt.git] / libvirt-sysctl-dir.patch
1 diff -ur libvirt-7.5.0.orig/src/remote/meson.build libvirt-7.5.0/src/remote/meson.build
2 --- libvirt-7.5.0.orig/src/remote/meson.build   2021-07-10 01:22:28.190677568 +0200
3 +++ libvirt-7.5.0/src/remote/meson.build        2021-07-10 01:22:48.926677568 +0200
4 @@ -265,11 +265,9 @@
5      endforeach
6  
7      if conf.has('WITH_SYSCTL')
8 -      # Use $(prefix)/lib rather than $(libdir), since man sysctl.d insists on
9 -      # /usr/lib/sysctl.d/ even when libdir is /usr/lib64
10        install_data(
11          'libvirtd.sysctl',
12 -        install_dir: prefix / 'lib' / 'sysctl.d',
13 +        install_dir: sysconfdir / 'sysctl.d',
14          rename: [ '60-libvirtd.conf' ],
15        )
16      endif