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

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

 



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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[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]