Improve the customizeiso step to allow restarts
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 8 Feb 2009 02:43:39 +0000 (18:43 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 8 Feb 2009 02:43:39 +0000 (18:43 -0800)
commit8abe78a145cfd69001a0042e28dfd69b0625cca7
treeabe7504e442b0e74ec7fbf2b2e364d214880416d
parent54c778f3b2e12ca0c90f9e680c2ec568e9b75461
Improve the customizeiso step to allow restarts

* Use a touch-file to determine if the bootstrap has been built, clean out
  the entire pkg installation if it has not before continuing.  Leave
  things intact if the bootstrap has already been installed.

* Use defensive umounts and rm's as needed to allow the null mounts and
  package building environment to be recreated without destroying packages
  already installed.

* Allow /usr/pkgsrc to be read-only.  If it is read-only then a null-mount
  will be used for /usr/pkgsrc/distfiles pointing to /usr/release/distfiles.

* Add a bmake check step when building each package and only build packages
  which have not already been installed.
nrelease/Makefile
nrelease/README.pkgsrc [deleted file]