[Buildroot] [RFC v0] libvirt: new package

Carlos Santos casantos at datacom.ind.br
Thu Sep 14 11:40:55 UTC 2017


> From: "Baruch Siach" <baruch at tkos.co.il>
> To: "Carlos Santos" <casantos at datacom.ind.br>
> Cc: buildroot at buildroot.org
> Sent: Thursday, September 14, 2017 12:29:58 AM
> Subject: Re: [Buildroot] [RFC v0] libvirt: new package

> Hi Carlos,
> 
> On Wed, Sep 13, 2017 at 11:24:25PM -0300, Carlos Santos wrote:
>> diff --git a/package/libvirt/Config.in b/package/libvirt/Config.in
>> new file mode 100644
>> index 0000000000..c8792eaa14
>> --- /dev/null
>> +++ b/package/libvirt/Config.in
>> @@ -0,0 +1,22 @@
>> +config BR2_PACKAGE_LIBVIRT
>> +	bool "libvirt"
>> +	depends on !BR2_STATIC_LIBS # libnl, lvm2
>> +	depends on BR2_USE_MMU # needs fork()
>> +	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl, libtirpc
>> +	select BR2_PACKAGE_LIBNL
>> +	select BR2_PACKAGE_LIBTIRPC
>> +	select BR2_PACKAGE_LIBXML2
>> +	select BR2_PACKAGE_LVM2
>> +	select BR2_PACKAGE_YAJL
>> +	help
>> +	  Libvirt is collection of software that provides a convenient
>> +	  way to manage virtual machines and other virtualization
>> +	  functionality, such as storage and network interface
>> +	  management. These software pieces include an API library, a
>> +	  daemon (libvirtd), and a command line utility (virsh).
>> +
>> +	  http://libvirt.org/
>> +
>> +comment "libvirt needs a glibc or uClibc toolchain w/ threads, dynamic library"
>> +        depends on BR2_USE_MMU
>> +        depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS ||
>> BR2_TOOLCHAIN_USES_MUSL
> 
> The musl incompatibility is because of lvm2, right? This part is missing from
> the dependencies listed above.

Right. I will fix it in the next version. Thanks!

-- 
Carlos Santos (Casantos) - DATACOM, P&D
“The greatest triumph that modern PR can offer is the transcendent 
success of having your words and actions judged by your reputation, 
rather than the other way about.” — Christopher Hitchens



More information about the buildroot mailing list