]> xenbits.xensource.com Git - people/aperard/libvirt.git/commitdiff
meson: Stop looking for scrub at build time
authorAndrea Bolognani <abologna@redhat.com>
Thu, 30 Nov 2023 17:21:43 +0000 (18:21 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 5 Dec 2023 10:50:42 +0000 (11:50 +0100)
We only use it at runtime, not during the build process.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
meson.build
src/storage/storage_util.c

index fdff8dcb971945fae7d7645a285dbd7598bcc58d..fa4062df2f23043fe510f592270bbff591a987a5 100644 (file)
@@ -818,7 +818,6 @@ optional_programs = [
   'pdwtags',
   'pytest',
   'rmmod',
-  'scrub',
   'tc',
 ]
 
index 7243308a02ddc0e0c31636b7514f7dd9a534cb51..7bf815d978bbd2c56abac975c42a4b5caa6f41e9 100644 (file)
@@ -73,6 +73,7 @@ VIR_LOG_INIT("storage.storage_util");
 #endif
 
 #define PARTED "parted"
+#define SCRUB "scrub"
 
 /* virStorageBackendNamespaceInit:
  * @poolType: virStoragePoolType