Gentoo Archives: gentoo-dev

From: Daniel Black <dragonheart@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] eclass proposal - savedconfig.eclass
Date: Thu, 01 Feb 2007 08:55:28
Message-Id: 200702011951.10215.dragonheart@gentoo.org
In Reply to: Re: [gentoo-dev] eclass proposal - savedconfig.eclass by Mike Frysinger
1 On Thursday 01 February 2007 18:48, Mike Frysinger wrote:
2 > On Thursday 01 February 2007, Daniel Black wrote:
3 > > Also creates the following symlinks to it
4 >
5 > i dont see much value in these symlinks ... what do they gain us ?
6 >
7
8 An easy way to find the closest config when merging a revision/version bump of
9 the same package. There are probably some cleaner ways with portage foo.
10
11 I see your point that it is a weak reason for symlinks to exist. The hard work
12 should be done by the eclass to find the closest config.
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 ...
19 > any package should be cross-compilable so the ebuild should really be
20 > agnostic
21 >
22 > in other words, the search path for the .config should always check
23 > $CTARGET subdirs followed by $CHOST followed by the normal $CATEGORY
24
25 Sure, makes sense.
26
27 So clarifying by default the save_config will store it in normal $CATEGORY and
28 allow the user to move it into under specific $CTARGET or $CHOST directory if
29 that is their desire.
30
31 > -mike
32
33 --
34 Daniel Black <dragonheart@g.o>
35 Gentoo Foundation

Replies

Subject Author
Re: [gentoo-dev] eclass proposal - savedconfig.eclass Mike Frysinger <vapier@g.o>