Re: [gentoo-dev] [PATCH] fcaps.eclass: disable fcaps() on Prefix.

2020-03-08 Thread Ulrich Mueller
> On Sun, 08 Mar 2020, heroxbd wrote: > debug-print-function ${FUNCNAME} "$@" > > + if [[ ${EUID} != 0 ]] ; then > + einfo "Insufficient privileges to execute ${FUNCNAME[0]}" Just a small comment on style, maybe try to stay consistent with the rest of the eclass? That

Re: [gentoo-dev] [PATCH] fcaps.eclass: disable fcaps() on Prefix.

2020-03-07 Thread Fabian Groffen
On 08-03-2020 15:26:50 +0800, hero...@gentoo.org wrote: > From: Benda Xu > > Gentoo Prefix runs with a normal user and cannot grant extra > capabilities. Exit gracefully with a message. > > Signed-off-by: Benda Xu > --- > eclass/fcaps.eclass | 5 + > 1 file changed, 5 insertions(+) > > d

[gentoo-dev] [PATCH] fcaps.eclass: disable fcaps() on Prefix.

2020-03-07 Thread heroxbd
From: Benda Xu Gentoo Prefix runs with a normal user and cannot grant extra capabilities. Exit gracefully with a message. Signed-off-by: Benda Xu --- eclass/fcaps.eclass | 5 + 1 file changed, 5 insertions(+) diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass index 467f955f5e9a..563d