Gentoo Archives: gentoo-dev

From: david@×××××××××.com
To: Dejan Nikic <dejann@××××××××××××.edu>
Cc: jtoyota@×××××××××.net, gentoo-dev@g.o
Subject: [gentoo-dev] 'submerge' was Re: Re: [gentoo-dev] Gentoo Embedded
Date: Wed, 29 Oct 2003 00:02:14
Message-Id: 20031029000155.GI4744@redhate.futuretel.com
In Reply to: Re: Re: [gentoo-dev] Gentoo Embedded by Dejan Nikic
1 On Tue, Oct 28, 2003 at 03:38:42PM -0800, Dejan Nikic wrote:
2 > well the thing is that you don't want to remove gcc, only portage some
3 > unused libs (i doubt their any with default Gentoo install) and probably
4 > all those man and doc files. There should be ways to statically link
5 > everything, but that might be some work.
6 >
7 > I got a 200mb install now, that I will hackaway at and try to get it
8 > bellow 50mb hopefully I'm thinking of maybe writing something that will
9 > use an existing gentoo install and use gentoo's portage and stuff to build
10 > an LFS-like (Linux from scratch) image.
11 >
12
13 Turns out I had a lot of extra time at work today... ;-)
14 well here is submerge. It is about 150 lines of bash and nothing very special.
15 submerge takes a couple of configuration parameters in a file to run.
16
17 I've attached it plus a sample config file. There are a couple extra
18 features I have in mind for it... and I'm open to suggestions and code
19 ;-)
20
21 like I said before, a basic system can be done with:
22
23 sys-kernel/linux-headers
24 glibc
25 =busybox-0.60.5-r1
26 =gawk-3.1.2-r3
27 =baselayout-1.8.6.8-r1
28 tinylogin
29
30 Dave

Attachments

File name MIME type
submerge.sh application/x-sh
build_config text/plain

Replies