Gentoo Archives: gentoo-embedded

From: Bertrand Jacquin <beber@××××××××.net>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Licence compliance - capturing all source files used to make a build?
Date: Fri, 02 Mar 2012 18:08:59
Message-Id: f9d7e9e2c394b2c5286c22f8678f6df4@mail.meleeweb.net
In Reply to: Re: [gentoo-embedded] Licence compliance - capturing all source files used to make a build? by Peter Stuge
1 On 02.03.2012 15:35, Peter Stuge wrote:
2 > Mike Frysinger wrote:
3 >> if you capture all of the $PORTDIR/$CATEGORY/$PN/ and $A, then
4 >> there should be no need to manually hook into epatch
5 >
6 > The point of hooking into epatch would be to only have exactly those
7 > patches which get applied. Some ebuilds come with a huge set of
8 > patches, but only few may be applied depending on USE and version.
9 > It's nice to have just the right ones.
10
11 epatch is not the only necessary thing, some ebuilds do 'sed -i' on
12 files. I don't really know for autotools files.
13
14 An extension about Mike mind can be an automagic diff between all
15 SRC_URI freshly src_unpack(ed) and after install+distclean or after
16 src_prepare. Assuming that not any other code is modified during
17 src_(compile|install).

Replies