summary refs log tree commit diff
path: root/gnu/packages/patches/libvirt-do-not-create-var-dirs.patch
blob: 6b89d49fd4569557b3ba329a5122601c7278c179 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
We define localstatedir as /var, and so we shouldn't be installing empty
directories there.

diff --git a/src/meson.build b/src/meson.build
index f13b85b74e..58040f2c5d 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -893,22 +893,6 @@ if conf.has('WITH_DTRACE_PROBES')
   )
 endif

-
-# Install empty directories
-
-virt_install_dirs += [
-  localstatedir / 'cache' / 'libvirt',
-  localstatedir / 'lib' / 'libvirt' / 'images',
-  localstatedir / 'lib' / 'libvirt' / 'filesystems',
-  localstatedir / 'lib' / 'libvirt' / 'boot',
-]
-
-meson.add_install_script(
-  meson_python_prog.path(), python3_prog.path(), meson_install_dirs_prog.path(),
-  virt_install_dirs,
-)
-
-
 # Check driver files

 if host_machine.system() == 'linux'