Gentoo Archives: gentoo-portage-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] multilib-strict: fix for Prefix
Date: Tue, 26 Jul 2022 18:47:47
Message-Id: YuA2zR7cPR2hhA39@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] multilib-strict: fix for Prefix by Mike Gilbert
1 On 25-07-2022 19:38:57 -0400, Mike Gilbert wrote:
2 > On Mon, Jul 25, 2022 at 12:26 PM Fabian Groffen <grobian@g.o> wrote:
3 > >
4 > > bin/install-qa-check.d/80multilib-strict: use file/find from Prefix
5 > >
6 > > diff --git a/bin/install-qa-check.d/80multilib-strict b/bin/install-qa-check.d/80multilib-strict
7 > > index afd223250..3db4ecce3 100644
8 > > --- a/bin/install-qa-check.d/80multilib-strict
9 > > +++ b/bin/install-qa-check.d/80multilib-strict
10 > > @@ -1,7 +1,7 @@
11 > > # Strict multilib directory checks
12 > > multilib_strict_check() {
13 > > if has multilib-strict ${FEATURES} && \
14 > > - [[ -x /usr/bin/file && -x /usr/bin/find ]] && \
15 > > + [[ -x ${EPREFIX}/usr/bin/file && -x ${EPREFIX}/usr/bin/find ]] && \
16 > > [[ -n ${MULTILIB_STRICT_DIRS} && -n ${MULTILIB_STRICT_DENY} ]]
17 > > then
18 > > rm -f "${T}/multilib-strict.log"
19 >
20 > Seems good to me.
21
22 https://github.com/gentoo/portage/pull/868
23
24 Thanks
25
26 --
27 Fabian Groffen
28 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature