On Thu, Nov 11, 2010 at 10:04:40PM -0500, Matt Turner wrote:
> > Out of interest... did you get around to those n32 stages at all?  I'd
> > like to get some of my old SGI kit up and going, some of them will need
> > a complete reinstall... so I may as well do that using n32 from the
> > outset.
> >
> > My O2 can remain o32 for now since it was the one still standing after
> > all this time.  The others, the userland is broken/stale to the point of
> > uselessness.
> 
> I tried again last week to make n32 stages, but have had a terrible
> time with catalyst.
> 
> The main problem I run into is that I can't get catalyst to
> acknowledge any package.keywords files (which as I understand might be
> by design), so I'm unable to put together a stage from the versions
> I'd like to stabilize. Are your recent o32 stages straight-up ~mips?
> Can you post your spec files somewhere?

I'll go one better and post the script I use to generate the spec files.

You place this in your catalyst directory and call it.  It'll perform
the stage1 -> stage 2 -> stage 3 builds automatically from there.  It
should work for n32 as well... in fact I'm pretty sure I have used it
once for n32.

If you have a look at the top of the file, you'll see the syntax easily
enough.  And to those seasoned sh programmers, yes... it can be greatly
improved -- there are things I've learned about sh that I didn't know at
the time.

My o32 stages are straight ~mips... however I did adjust the snapshot's
package.mask to disable building of perl-5.12 for this release as I had
some quirky issues with it in the seed stage... the biggest issue at the
time was gcc-4.4.4 not being built correctly by gcc-4.1.1... I could
address Perl later.  (In fact, I will in the next release.)

Regards,
-- 
Stuart Longland (aka Redhatter, VK4MSL)      .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer  '.'` :
. . . . . . . . . . . . . . . . . . . . . .   .'.'
http://dev.gentoo.org/~redhatter             :.'

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

Attachment: dostages.sh
Description: Bourne shell script

Reply via email to