nrelease - Release build adjustments
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 24 Oct 2010 07:00:59 +0000 (00:00 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 24 Oct 2010 07:09:31 +0000 (00:09 -0700)
commitfe70af2188eaa0ac0a5268f8c5c8381ca93efb6d
tree6ac7e33378ae2848fac43500710a6ca554e458fc
parent62c13b92a3cf7880a50808a012f7b13b1312231a
nrelease - Release build adjustments

* Add GITHOST override to Makefile.usr

* For now checkout 2010Q3 by default in master, this will be changed
  to 'master' in a month or two but for now we want to match the release.

* Add GITHOST feature to the nrelease Makefile, defaulting to
  git.dragonflybsd.org.  This allows developers who do release builds
  to specify a more local clone/mirror/copy of the pkgsrcv2.git and
  dragonfly.git repos.

  nrelease pulls from these repos so this can save a bunch of time.

* nrelease now installs each kernel into its own kernel.XXX directory
  in /boot, with a complete set of modules for each kernel.  This is
  instead of installing all kernels into /boot/kernel/ and naming them
  differently inside /boot/kernel/.

  This is to conform to the recent dloader work and very recent new
  menu features.

* All kernels+modules are installed with INSTALLSTRIPPEDMODULES so the
  ISO comes in at a reasonable size.

* The release ISO now contains both a UP and a SMP kernel, selectable
  at boot time.

* Do not try to include pkgsrc in the release ISO/IMG (at 1G+ it is too
  big).  We continue to include system sources.  There isn't enough room
  for full sources in the ISO/IMG.  Note that GUI builds will include
  a full pkgsrc and full sources, including a .git base for them.

* nrelease now supports a IMGSIZE override on the make line (in sectors),
  for the usb image.

* nrelease now autosizes the IMG file (when not overriden by IMGSIZE) to
  the nearest base-10 gigabyte to ensure that it fits on the USB stick
  and provide a bit of extra space for messing around.
etc/Makefile.usr
nrelease/Makefile