1 |
On 07:36 Tue 11 Oct , Mark Lybarger wrote: |
2 |
> i'm looking to use catalyst to build binaries (grp?) that the local |
3 |
> machines can use to install. i currently have a script which does the |
4 |
> following: |
5 |
> |
6 |
> catalyst -s 2005.8 |
7 |
> catalyst -f ./stage1.spec |
8 |
> catalyst -f ./stage2.spec |
9 |
> catalyst -f ./stage3.spec |
10 |
> catalyst -f ./packagecd.spec.tmp |
11 |
> |
12 |
> after all is said and done, hopefully i have a |
13 |
> builds/default/grp-i686-2005.8/cd2/All folder which contains binaries |
14 |
> specified in the packagecd spec file. i merged the packagecd.spec.tmp |
15 |
> with a client's machine's world file, so it may be rather long. next, |
16 |
> i export the All folder and the clinets mount it on their |
17 |
> /usr/portage/packages folder. |
18 |
> |
19 |
> i have a couple of questions with this method. |
20 |
> |
21 |
> 1. i also get a folder structure of stage3-i686-2005.8/default/All or |
22 |
> some such which contains some packages not found in the grp cd. is it |
23 |
> ok to copy these packages over to the grp folder? i ask this one |
24 |
> because my client machines are giving some x86 .vs. i686 errors with |
25 |
> their gcc stuff after using the binaries to upgrade. thus some |
26 |
> packages don't install from source for them. |
27 |
I believe its ok to do that. grp is basically just an extension of |
28 |
stage3so it shouldnt be an issue. I will have to talk with wolf31o2 but |
29 |
that might be a feature to add to catalyst2. IE have grp and stage3 put |
30 |
the pkgs in the same destination folder. |
31 |
|
32 |
> |
33 |
> 2. is there a more common method for building bin files to distribute |
34 |
> to a bunch of internal users? |
35 |
Not that I know of. Catalyst is pretty much one of the best tools for |
36 |
doing this. You may want to look at the tinderbox target though as that |
37 |
builds each package individually and you can find out specific ones that |
38 |
fail. Its something to look at. |
39 |
> |
40 |
> 3. how do i set the use flags for the binaries? i see the grp |
41 |
> package can set use flags, is that enough? the machines have a pretty |
42 |
> common use flag settings, but they seem to be slightly different than |
43 |
> the default (dvd, etc). |
44 |
That is enough. With catalyst2 you will be able to setup the |
45 |
/etc/portage structure as well and have per package use flags setup. |
46 |
|
47 |
> |
48 |
> thanks! |
49 |
> ~mark |
50 |
> |
51 |
> -- |
52 |
> gentoo-catalyst@g.o mailing list |
53 |
> |
54 |
> |