From 58b17ce7890732a35f2862afdf1013160943845c Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Thu, 30 Nov 2023 18:21:43 +0100 Subject: [PATCH] meson: Stop looking for scrub at build time We only use it at runtime, not during the build process. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- 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