]> TLD Linux GIT Repositories - packages/libvirt.git/blob - libvirt-sysctl-dir.patch
- updated to 10.2.0
[packages/libvirt.git] / libvirt-sysctl-dir.patch
1 diff -ur libvirt-10.2.0.orig/src/qemu/meson.build libvirt-10.2.0/src/qemu/meson.build
2 --- libvirt-10.2.0.orig/src/qemu/meson.build    2024-04-03 17:51:45.090484121 +0200
3 +++ libvirt-10.2.0/src/qemu/meson.build 2024-04-03 17:52:00.894695514 +0200
4 @@ -212,7 +212,7 @@
5    if conf.has('WITH_USERFAULTFD_SYSCTL')
6      install_data(
7        'postcopy-migration.sysctl',
8 -      install_dir: prefix / 'lib' / 'sysctl.d',
9 +      install_dir: sysconfdir / 'sysctl.d',
10        rename: [ '60-qemu-postcopy-migration.conf' ],
11      )
12    endif
13 diff -ur libvirt-10.2.0.orig/src/remote/meson.build libvirt-10.2.0/src/remote/meson.build
14 --- libvirt-10.2.0.orig/src/remote/meson.build  2024-04-03 17:51:45.098484228 +0200
15 +++ libvirt-10.2.0/src/remote/meson.build       2024-04-03 17:52:00.894695514 +0200
16 @@ -284,11 +284,9 @@
17      endforeach
18  
19      if conf.has('WITH_SYSCTL')
20 -      # Use $(prefix)/lib rather than $(libdir), since man sysctl.d insists on
21 -      # /usr/lib/sysctl.d/ even when libdir is /usr/lib64
22        install_data(
23          'libvirtd.sysctl',
24 -        install_dir: prefix / 'lib' / 'sysctl.d',
25 +        install_dir: sysconfdir / 'sysctl.d',
26          rename: [ '60-libvirtd.conf' ],
27        )
28      endif