[libvirt] [PATCH] storage: Allow runtime detection of scrub
Eric Blake
eblake at redhat.com
Tue Feb 14 21:44:31 UTC 2012
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 at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120214/fbc28330/attachment-0001.sig>
More information about the libvir-list
mailing list