On 14:27 Tue 11 Oct , Eric Edgar wrote:
> On 07:36 Tue 11 Oct , Mark Lybarger wrote:
> > i'm looking to use catalyst to build binaries (grp?) that the local
> > machines can use to install. i currently have a script which does the
> > following:
> >
> > catalyst -s 2005.8
> > catalyst -f ./stage1.spec
> > catalyst -f ./stage2.spec
> > catalyst -f ./stage3.spec
> > catalyst -f ./packagecd.spec.tmp
> >
> > after all is said and done, hopefully i have a
> > builds/default/grp-i686-2005.8/cd2/All folder which contains binaries
> > specified in the packagecd spec file. i merged the packagecd.spec.tmp
> > with a client's machine's world file, so it may be rather long. next,
> > i export the All folder and the clinets mount it on their
> > /usr/portage/packages folder.
> >
> > i have a couple of questions with this method.
> >
> > 1. i also get a folder structure of stage3-i686-2005.8/default/All or
> > some such which contains some packages not found in the grp cd. is it
> > ok to copy these packages over to the grp folder? i ask this one
> > because my client machines are giving some x86 .vs. i686 errors with
> > their gcc stuff after using the binaries to upgrade. thus some
> > packages don't install from source for them.
> I believe its ok to do that. grp is basically just an extension of
> stage3so it shouldnt be an issue. I will have to talk with wolf31o2 but
> that might be a feature to add to catalyst2. IE have grp and stage3 put
> the pkgs in the same destination folder.
Better yet would be to put the missing system packages in the spec file
so that they are rebuilt with the appropriate use flags if necessary and
that would automatically build the new packages needed for the other
systems
>
> >
> > 2. is there a more common method for building bin files to distribute
> > to a bunch of internal users?
> Not that I know of. Catalyst is pretty much one of the best tools for
> doing this. You may want to look at the tinderbox target though as that
> builds each package individually and you can find out specific ones that
> fail. Its something to look at.
> >
> > 3. how do i set the use flags for the binaries? i see the grp
> > package can set use flags, is that enough? the machines have a pretty
> > common use flag settings, but they seem to be slightly different than
> > the default (dvd, etc).
> That is enough. With catalyst2 you will be able to setup the
> /etc/portage structure as well and have per package use flags setup.
>
> >
> > thanks!
> > ~mark
> >
> > --
> > gentoo-catalyst-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx mailing list
> >
> >
pgpZkG3KgcoKt.pgp
Description: PGP signature
|