[libvirt] [PATCH] storage: Fix storage_backend probing when PARTED not installed.

Peter Krempa pkrempa at redhat.com
Tue Jan 10 16:19:22 UTC 2017


On Tue, Jan 10, 2017 at 10:20:11 -0500, John Ferlan wrote:
> Commit id 'a48c674f' caused problems for systems without PARTED installed.
> 
> So move the PARTED probing code back to storage_backend_disk.c and create
> a shim within storage_backend.c to call it if WITH_STORAGE_DISK is true;
> otherwise, just return -1 with the error.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> 
>  Reported to me internally via Peter Krempa...  Not pushing as a build
>  breaker - I'll let Peter review and ACK.

I don't really see a reason why this should be a build time dependency,
but this fixes the build for me now so ACK.

Peter

P.S: I'll post a patch that removes a build-time dependency on the
gluster cli tool soon, since it doesn't make much sense.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170110/888e1197/attachment-0001.sig>


More information about the libvir-list mailing list