When SOFTMMU_TARGETS are empty the qemu-bridge-helper isn't installed
anymore causing a failure to build due to the fcaps call.
Closes: https://bugs.gentoo.org/675110
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
udev_reload
fi
- fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
+ [[ -f ${D}/usr/libexec/qemu-bridge-helper ]] && \
+ fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
DISABLE_AUTOFORMATTING=true
readme.gentoo_print_elog
udev_reload
fi
- fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
+ [[ -f ${D}/usr/libexec/qemu-bridge-helper ]] && \
+ fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
DISABLE_AUTOFORMATTING=true
readme.gentoo_print_elog