build - add installworld-force target and better checks
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 10 Dec 2014 21:33:32 +0000 (13:33 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 10 Dec 2014 21:37:21 +0000 (13:37 -0800)
commit108fa417f5bff49cacac30c53505d3dc99810674
treef6c449e667f1449c90aa240085682a96693f06b6
parent0c95bff93bf6b1b0e17311ea14e17036f31a59e8
build - add installworld-force target and better checks

* Add better checks to installworld.  Print an error and exit if the
  base system is too old, directing users to run installworld-force.

* Add installworld-force.  This automates installing the world on a
  base system which is too old and thus has chicken-and-egg problems
  with binaries and libraries.

  This install target will install to a temporary directory, compile up
  a static cpdup, and then use it to just blast copy /bin, /sbin, /lib,
  /libexec, /usr/bin, /usr/sbin, /usr/lib, and /usr/libexec.  It will
  then execute a normal make installworld and make upgrade.
Makefile
Makefile.inc1