diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2019-08-01 17:06:19 +0200 |
---|---|---|
committer | Guilherme Amadio <amadio@gentoo.org> | 2019-08-05 15:15:23 +0200 |
commit | 77e591b421d548ba29b40ec32b536cab761a1449 (patch) | |
tree | 9e8e99359f078e4bc34c18ee6e2c5ac93f9c92f7 /app-emulation | |
parent | media-video/gaupol: remove old (diff) | |
download | gentoo-77e591b421d548ba29b40ec32b536cab761a1449.tar.gz gentoo-77e591b421d548ba29b40ec32b536cab761a1449.tar.bz2 gentoo-77e591b421d548ba29b40ec32b536cab761a1449.zip |
app-emulation/qemu: do not apply fcaps on prefix
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Acked-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/qemu/qemu-4.0.0-r3.ebuild | 4 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-4.0.0-r4.ebuild | 4 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-9999.ebuild | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/app-emulation/qemu/qemu-4.0.0-r3.ebuild b/app-emulation/qemu/qemu-4.0.0-r3.ebuild index 120a36c5685e..0d4fcd42894e 100644 --- a/app-emulation/qemu/qemu-4.0.0-r3.ebuild +++ b/app-emulation/qemu/qemu-4.0.0-r3.ebuild @@ -763,8 +763,8 @@ pkg_postinst() { xdg_icon_cache_update - [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \ - fcaps cap_net_admin /usr/libexec/qemu-bridge-helper + [[ -z ${EPREFIX} ]] && [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \ + fcaps cap_net_admin ${EROOT}/usr/libexec/qemu-bridge-helper DISABLE_AUTOFORMATTING=true readme.gentoo_print_elog diff --git a/app-emulation/qemu/qemu-4.0.0-r4.ebuild b/app-emulation/qemu/qemu-4.0.0-r4.ebuild index 81c3c2357646..8f6347fd6f59 100644 --- a/app-emulation/qemu/qemu-4.0.0-r4.ebuild +++ b/app-emulation/qemu/qemu-4.0.0-r4.ebuild @@ -765,8 +765,8 @@ pkg_postinst() { xdg_icon_cache_update - [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \ - fcaps cap_net_admin /usr/libexec/qemu-bridge-helper + [[ -z ${EPREFIX} ]] && [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \ + fcaps cap_net_admin ${EROOT}/usr/libexec/qemu-bridge-helper DISABLE_AUTOFORMATTING=true readme.gentoo_print_elog diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index 33d12d84c6eb..5dada763cbc0 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -760,8 +760,8 @@ pkg_postinst() { xdg_icon_cache_update - [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \ - fcaps cap_net_admin /usr/libexec/qemu-bridge-helper + [[ -z ${EPREFIX} ]] && [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \ + fcaps cap_net_admin ${EROOT}/usr/libexec/qemu-bridge-helper DISABLE_AUTOFORMATTING=true readme.gentoo_print_elog |