virtual/pkgconfig"
PATCHES=(
- "${FILESDIR}"/${PN}-4.2.0-do_not_use_sysconf.patch
+ "${FILESDIR}"/${PN}-4.5.0-do_not_use_sysconf.patch
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-3.10.0-r2-fix_paths_for_apparmor.patch
)
}
src_configure() {
- #
- # With 4.1.0 we should always enable networking support - otherwise not
- # even minimal networking is available. Yes, this degrades
- # USE=virt-network to a mere runtime-dep USE flag. But let's keep it
- # for compatibility and convenience.
- #
local myeconfargs=(
$(use_with apparmor)
$(use_with apparmor apparmor-profiles)
$(use_with udev)
$(use_with uml)
$(use_with vepa virtualport)
+ $(use_with virt-network network)
$(use_with wireshark-plugins wireshark-dissector)
$(use_with xen)
$(use_with xen xen-inotify)
$(use_with zeroconf avahi)
$(use_with zfs storage-zfs)
- --with-network
-
--without-hal
--without-netcf
--without-sanlock
# Remove bogus, empty directories. They are either not used, or
# libvirtd is able to create them on demand
rm -rf "${D}"/etc/sysconfig
- rm -rf "${D}"/var/cache
- rm -rf "${D}"/var/run
- rm -rf "${D}"/var/log
+ rm -rf "${D}"/var
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!