Subject: Re: makefs problem [was: Re: Enabling LFS in sysinst (and moving lfs_cleanerd)]
To: None <tech-userlevel@netbsd.org>
From: David Young <dyoung@pobox.com>
List: tech-userlevel
Date: 11/04/2006 11:29:53
On Sat, Nov 04, 2006 at 12:31:20PM +0100, Hubert Feyrer wrote:
> On Sat, 4 Nov 2006, Julio M. Merino Vidal wrote:
> >However, I have a "problem".  It feels weird that the iso's contain
> >other iso's within them; this may not be an issue when
> >CDRELEASE=false, but it certainly is when it's set to true.  I did the
> >following:
> >
> >$ cd distrib/i386/cdroms/bootcd
> >$ nbmake-i386 CDRELEASE=true clean
> >$ nbmake-i386 CDRELEASE=true dependall
> >$ nbmake-i386 CDRELEASE=true release
> >$ cd ../bootcd-com
> >$ nbmake-i386 CDRELEASE=true clean
> >$ nbmake-i386 CDRELEASE=true dependall
> >$ nbmake-i386 CDRELEASE=true release
> >
> >After that, the boot-com.iso image contained the big boot.iso image
> >within it, thus doubling its size.  The same will happen when building
> >the other images, thus growing their size exponentially.
> 
> I guess that's why you are not supposed to set CDRELEASE manually for 
> those CDs. Try doing a 'normal' build first, and then build in 
> .../installcd.
> 
> Of course in the long run, someone could fix makefs(8) to have some 
> --exclude switch, possibly while adding graft points.

You can get equivalent functionality as --exclude by feeding in a filtered
metalog with -x -F log.

Graft points sure would be nice.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933