Gentoo Archives: gentoo-dev

From: Kenton Groombridge <concord@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing
Date: Tue, 05 Jul 2022 19:55:44
Message-Id: 20220705195533.lezywdb7ufp2dzfv@fuuko
In Reply to: Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing by Georgy Yakovlev
1 On 22/07/05 12:02PM, Georgy Yakovlev wrote:
2 > started playing with my old code and got blocked right away:
3 >
4 > looks like dostrip just creates a list of files/directories to strip
5 > and processed at the very end of install phase.
6 >
7 > so skipping strip and doing manual one might be problematic.
8 > internally portage uses estrip
9 > https://github.com/gentoo/portage/blob/master/bin/estrip
10 > which contains quite a lot of logic and code and I don't think
11 > partially re-implementing this in eclass code is appropriate.
12 >
13
14 I agree I don't think it's appropriate. Would it make sense to be able
15 to provide an extra argument to dostrip in order to strip an object
16 *now* using the existing logic (and skip later stripping)? i.e.:
17
18 dostrip --now my_module.ko