[libvirt PATCH 3/9] meson: Stop looking for scrub at build time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We only use it at runtime, not during the build process.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 meson.build                | 1 -
 src/storage/storage_util.c | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index fdff8dcb97..fa4062df2f 100644
--- a/meson.build
+++ b/meson.build
@@ -818,7 +818,6 @@ optional_programs = [
   'pdwtags',
   'pytest',
   'rmmod',
-  'scrub',
   'tc',
 ]
 
diff --git a/src/storage/storage_util.c b/src/storage/storage_util.c
index 7243308a02..7bf815d978 100644
--- a/src/storage/storage_util.c
+++ b/src/storage/storage_util.c
@@ -73,6 +73,7 @@ VIR_LOG_INIT("storage.storage_util");
 #endif
 
 #define PARTED "parted"
+#define SCRUB "scrub"
 
 /* virStorageBackendNamespaceInit:
  * @poolType: virStoragePoolType
-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux