On Tue, Oct 28, 2003 at 09:11:44AM -0800, Dejan Nikic wrote:
> Acctually I think this should work.  I'm not really interested with
> updates anyways.  The computer (like most real embedded devices) will
> not be connected to the outside world, so no security risks and need to
> upgrade without doing a complete overhaul. I just need something stable
> that works. I just have to see how it will behave with my RT kernel.
> 

I have a script I put together that will 'emerge' packages into an
alternate root using portage.  My goal was a machine 'image' that I
could stick in an embedded device, and if upgrades were needed I would
upgrade the 'image' not individual packages.
At the smallest so far, i put busybox+glibc+kernel in 50 megs(i know
that's huge i compiled in locales and other junk), but right now I'm
working on building a uclibc toolchain.  And I should have that
finished in about a week. My earlier postings about the "-doc" use
flag, which has turned into a FEATURE were related to this.
At any rate, if you are interested I could show you a copy of what
i've been working on.

On a side note if i compile busybox statically everything fits in
about 5 megs.

One thing that is clear... gentoo(portage) needs better cross compilation and
alternate libc support.  I have some hacked code from aiken and
zwelch(gcc-config-1.4.5) that I can *sorta* work with.  But there are
some intricacies of portage I don't understand... that I cannot get around.

Dave

> On Tue, 2003-10-28 at 01:10, Paul de Vrieze wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > On Tuesday 28 October 2003 03:30, Dejan Nikic wrote:
> > > hmm that's too bad.  I wish there is some way of acctually chrooting
> > > into a portage-less system, but still be able to compile everything
> > > from scratch using the flags and such.  Otherwise I'll have to go LFS
> > > way, and I'd really hate to do that, since I really don't have that
> > > much time on my hands.
> > 
> > You could bind mount the portage tree into the root system (of course 
> > updates will be out of the question). After you're done unmerge portage 
> > and it works.
> > 
> > Paul
> > 
> > - -- 
> > Paul de Vrieze
> > Gentoo Developer
> > Mail: [EMAIL PROTECTED]
> > Homepage: http://www.devrieze.net
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.3 (GNU/Linux)
> > 
> > iD8DBQE/njJwbKx5DBjWFdsRAiS8AKCpP1mRGgGsWUh5jhsUf/669IucfACeP0HX
> > XeoSxlZM0kfGqRGu+MA9yOs=
> > =K6ne
> > -----END PGP SIGNATURE-----
> > 
> > 
> > --
> > [EMAIL PROTECTED] mailing list
> > 
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 

--
[EMAIL PROTECTED] mailing list

Reply via email to