Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Feb 2004 19:19:43 +0100
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        Peter Losher <plosher-keyword-freebsd.a36e57@plosh.net>
Cc:        questions@freebsd.org
Subject:   Re: Customizing a 'make release'...
Message-ID:  <20040229181943.GD42000@alex.lan>
In-Reply-To: <200402262143.38830.plosher@plosh.net>
References:  <200402262143.38830.plosher@plosh.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 26, 2004 at 09:43:38PM -0800, Peter Losher wrote:
> (If this question is better served on another list, let me know)
> 
> I am trying to come up with a custom FreeBSD ISO w/ my personal 
> preferences (no integrated OpenSSH, Heimdal, or Sendmail)  I have been 
> working off of  
> http://www.gsoft.com.au/~doconnor/FreeBSD-release-2.html, and 
> 
> /usr/bin/time sh -c 'make release CHROOTDIR=/hog0/release NODOC=YES
> NOPORTS=YES BUILDNAME=5.2-REL-FOO CVSROOT=/hog1/FreeBSD-CVS
> RELEASETAG=RELENG_5_2_1_RELEASE' | & tee /tmp/release.log
> 
> Now my understanding is that 'make release' honors the variables set 
> in /etc/make.conf, where I have:
> 
> -=-
> NO_OPENSSH=true
> NO_KERBEROS=true
> NO_SENDMAIL=true
> -=-
> 
> After creating the binaries and the ISO image, installing the OS on a new 
> box results in a sendmail-less install, but it still has all the OpenSSH 
> and Heimdal bits included.  Do I needed to declare NO_OPENSSH and 
> NO_KERBEROS on the 'make release' command line?

It shoudn't be requered. Your guess is a good as mine as to way it still
build openssh.

> Also, is there any way to change the default bits the install process -  
> like the default auto-partition (I prefer to leave the /var partition 
> with the remaining space instead of /usr as it is now), and have it 
> automatically install certain packages instead of asking.
> 
> Thanks in advance for any advice you can pass along...

Yes there is. See man sysinstall for more information on this.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040229181943.GD42000>