Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] eclass proposal - savedconfig.eclass
Date: Thu, 01 Feb 2007 07:53:10
Message-Id: 200702010248.48128.vapier@gentoo.org
In Reply to: [gentoo-dev] eclass proposal - savedconfig.eclass by Daniel Black
1 On Thursday 01 February 2007, Daniel Black wrote:
2 > IMPLEMENTION
3
4 thanks for putting this together
5
6 > store_config should only be called from pkg_preinst or src_install
7
8 this is easy to check in the eclass via $EBUILD_PHASE
9
10 > Also creates the following symlinks to it
11
12 i dont see much value in these symlinks ... what do they gain us ?
13
14 > As some packages, like uclibc, have regular cross compile functionality
15 > which require separate config files for each host. This can be achieved
16 > with the -s option.
17
18 i dont think the ebuild should care whether it's being cross-compiled ... any
19 package should be cross-compilable so the ebuild should really be agnostic
20
21 in other words, the search path for the .config should always check $CTARGET
22 subdirs followed by $CHOST followed by the normal $CATEGORY
23 -mike

Replies

Subject Author
Re: [gentoo-dev] eclass proposal - savedconfig.eclass Daniel Black <dragonheart@g.o>