Customizing a 'make release'...
Alex de Kruijff
freebsd at akruijff.dds.nl
Sun Feb 29 10:20:28 PST 2004
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:
> 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
> 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.
Articles based on solutions that I use:
More information about the freebsd-questions