1 |
On Sat, 18 Sep 2004 09:49:44 -0400 |
2 |
Kumba <kumba@g.o> wrote: |
3 |
|
4 |
> Guy Martin wrote: |
5 |
> |
6 |
> > I'm working on this atm. |
7 |
> > |
8 |
> > My catalyst patch starts from a stage3, compile all the stuff you |
9 |
> > specified in the spec file, copy the file you specified for each pkg |
10 |
> > in the chroot, handle required libs and co. It also compiles busybox |
11 |
> > and let you specify your config file for it. |
12 |
> > I still have to write support for the kernel compilation and the |
13 |
> > final netboot image generation. |
14 |
> > |
15 |
> > Btw, I need info about generating such image for x86. I know how to |
16 |
> > do it for hppa but nfi for x86. :) |
17 |
> |
18 |
> Can one possibility for this be to just generate the |
19 |
> loopback-mountable ramdisk as the final catalyst product along with a |
20 |
> tar.bz2 of the same data (i.e., skip kernel compiliation)? In the |
21 |
> case of mips netboots, systems whose kernels can be built w/ ramdisks |
22 |
> will use the loopback image, while the others will use the tar.bz2 for |
23 |
> nfsroot. |
24 |
|
25 |
For now, I was planning somehting simple. The catalyst script would just |
26 |
create a kernel and the ramdisk which would be a simple ext2 filesystem. |
27 |
The final image would be created by a third-part script like the iso |
28 |
generation script for the livecd. |
29 |
Do you absolutely need to not build a kernel or the kernel build will |
30 |
always be required ? |
31 |
|
32 |
> Also, will this be able to use uclibc by chance? |
33 |
|
34 |
I'm not familiar with uclibc. If simply copying the uclibc's libc.so |
35 |
file in the ramdisk instead of the glibc's one works then I can |
36 |
implement it quickly. |
37 |
If all apps really needs to be linked against uclibc, I guess it can be |
38 |
doable too but I'll have to look at it. |
39 |
|
40 |
|
41 |
I should be able to have somehting running and useable today. I just |
42 |
finished the kernel generation part. I just need to pack all of the |
43 |
files. If you want to test, I'm on irc :) |
44 |
|
45 |
|
46 |
> --Kumba |
47 |
> |
48 |
|
49 |
|
50 |
-- |
51 |
Guy Martin |
52 |
Gentoo Linux - HPPA port Lead / IPv6 team |
53 |
Lug Charleroi (Belgium) |