DragonFly BSD
DragonFly commits List (threaded) for 2013-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Makefile.inc: Rework automatic backup (bug 2527)


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Apr 2013 14:42:36 -0700 (PDT)

commit 2decc9b9d580a7e83c7f252b45601652a746c818
Author: John Marino <draco@marino.st>
Date:   Tue Apr 16 02:42:13 2013 +0200

    Makefile.inc: Rework automatic backup (bug 2527)
    
    There were three main problems with the recently added backup feature:
    1. It didn't work over NFS
    2. It didn't work when a non-root built world the second time
    3. It didn't use DESTDIR which had potential to conflict backups
    
    It also previously featured "NO_BACKUP" which turned off the automatic
    backup feature.  To fix the #2 problem, the install timestamp has been
    removed, so to avoid unwanted backups for multiple installworlds after
    one buildworld, the user needs to pass NO_BACKUP in the command line.
    
    This patch was contributed by Thomas Nikolajsen with minor modifications
    added by John Marino.
    
    http://bugs.dragonflybsd.org/issues/2527

Summary of changes:
 Makefile                   |   8 ++++
 Makefile.inc1              | 103 ++++++++++++++++++---------------------------
 etc/defaults/make.conf     |   3 ++
 share/man/man5/make.conf.5 |  31 +++++++++++---
 share/man/man7/build.7     |  32 ++++++++++++--
 5 files changed, 105 insertions(+), 72 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2decc9b9d580a7e83c7f252b45601652a746c818


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]