Gentoo Archives: gentoo-catalyst

From: Matt Turner <mattst88@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH 2/5] stagebase: allow specfiles to define install_mask
Date: Thu, 21 May 2020 20:45:35
Message-Id: CAEdQ38F1HXuLf1jkt3mpF+6bK4WcSiu-AeHJvaWo6PeW3LbWAg@mail.gmail.com
In Reply to: [gentoo-catalyst] [PATCH 2/5] stagebase: allow specfiles to define install_mask by Daniel Cordero
1 On Thu, May 21, 2020 at 10:34 AM Daniel Cordero <gentoo.catalyst@××××.ws> wrote:
2 >
3 > From: Daniel Cordero <catalyst@××××.io>
4 >
5 > There is some code that uses this option - set_install_mask() - but it was not
6 > added to the list of valid specfile options.
7 >
8 > The only mention of use is in the embedded target, but it may also be useful
9 > for other stages.
10 > ---
11 > install_mask allows the use of wildcard glob patterns, where */rm
12 > doesn't.
13 >
14 > catalyst/base/stagebase.py | 1 +
15 > 1 file changed, 1 insertion(+)
16 >
17 > diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
18 > index 651bf4e4..3e8f074e 100644
19 > --- a/catalyst/base/stagebase.py
20 > +++ b/catalyst/base/stagebase.py
21 > @@ -54,6 +54,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
22 > "fcflags",
23 > "fflags",
24 > "hostuse",
25 > + "install_mask",
26 > "kerncache_path",
27 > "ldflags",
28 > "makeopts",
29 > --
30 > 2.26.2
31
32 Nice. I'll add a bit of documentation to the man page when I commit this.