git: build - add installworld-force target and better checks

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Dec 10 13:37:26 PST 2014


commit 108fa417f5bff49cacac30c53505d3dc99810674
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Dec 10 13:33:32 2014 -0800

    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.

Summary of changes:
 Makefile      |  3 ++-
 Makefile.inc1 | 31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/108fa417f5bff49cacac30c53505d3dc99810674


-- 
DragonFly BSD source repository



More information about the Commits mailing list