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

Re: [libvirt] [PATCH] storage: Allow runtime detection of scrub



On 02/14/2012 03:12 AM, Michal Privoznik wrote:
> Currently, if scrub (used for wiping algorithms) is not present
> at compile time, we don't support any other wiping algorithms than
> zeroing, even if it was installed later. Switch to runtime detection
> instead.
> ---
>  configure.ac                 |   30 ++++--------------------------
>  src/storage/storage_driver.c |    4 ----
>  2 files changed, 4 insertions(+), 30 deletions(-)

Almost.  You also need to patch libvirt.spec.in to add a BuildRequires
on scrub so that rpm builds will have the correct absolute path of scrub
compiled in, rather than relying on a PATH lookup.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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