tech-embed archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Shrinking NetBSD - deep final distribution re-linker



On Wed, Oct 20, 2004 at 12:58:50PM +0700, Ian Zagorskih wrote:
  | I.e. we want to put almost complete /bin subset into single crunched 
  | executable.

See src/rescue/Makefile and src/rescue/list* .
It is a good example of how to reuse the existing build
infrastructure within NetBSD to do this.

That said, if I have a bit more space than the install media (e.g, I
can afford the kernel to be 3-4MB), I prefer to just copy the
standard dynamically linked apps into the "work" dir that we
makefs(8) into a file system to be injected into a kernel with
mdsetimage(8).

YMMV.

Cheers,
Luke.

Attachment: pgpaO3FoTQSVx.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index