git: build: implement automatic world backups

John Marino marino at crater.dragonflybsd.org
Sun Feb 17 12:43:20 PST 2013


commit 61443441615c49aa6d0ba3d401e7335014e372b4
Author: John Marino <draco at marino.st>
Date:   Sun Feb 17 21:14:48 2013 +0100

    build: implement automatic world backups
    
    The directives DAYS_BACKUP and NO_BACKUP have been removed.
    The "backupworld" target will save important directories to the WORLD_BACKUP
    directory just as before, and it is restored with the "restoreworld" target.
    
    Additionally, every time the "installworld" target is executed, the same
    directories will be automatically backed up at the location of
    ${MAKEOBJDIRPREFIX}/world_backup .  These directories could be restored
    with the new make target "restoreworld-auto".
    
    The WORLD_BACKUP location default is now /var/backups/world_backup .
    The directory /usr/lib has been added to the backup list.
    The more useless errors seen with a broken world have been removed, these
    came in with bmake.

Summary of changes:
 Makefile                   |  2 +-
 Makefile.inc1              | 71 +++++++++++++++++++++++++++++++---------------
 share/man/man5/make.conf.5 | 14 +--------
 3 files changed, 50 insertions(+), 37 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/61443441615c49aa6d0ba3d401e7335014e372b4


-- 
DragonFly BSD source repository


More information about the Commits mailing list