git: Makefile.inc: Rework automatic backup (bug 2527)
John Marino
marino at crater.dragonflybsd.org
Tue Apr 16 14:42:36 PDT 2013
commit 2decc9b9d580a7e83c7f252b45601652a746c818
Author: John Marino <draco at 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
More information about the Commits
mailing list