Skip to content

Commit

Permalink
app-emulation/qemu: do not apply fcaps on prefix
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <[email protected]>
Acked-by: Matthias Maier <[email protected]>
  • Loading branch information
amadio committed Aug 5, 2019
1 parent be25f85 commit 77e591b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app-emulation/qemu/qemu-4.0.0-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions app-emulation/qemu/qemu-4.0.0-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions app-emulation/qemu/qemu-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77e591b

Please sign in to comment.