pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/pkgformat/pkg Omit pkg_tarup during replace in dest...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b895a0578d4c
branches: trunk
changeset: 352856:b895a0578d4c
user: gdt <gdt%pkgsrc.org@localhost>
date: Mon Sep 19 12:26:08 2016 +0000
description:
Omit pkg_tarup during replace in destdir mode
In destdir mode (the default), make replace creates the replacement
binary package without modifying the installed system, and then
installs it via pkg_add -u. Thus, the new package is known to have
built and packaged ok before the system is changed, and the risk of
trouble is low; thus the benefit of tarring up the installed package
is very low, especially since the newly-tarred-up package is removed
by "make clean". Using pkg_tarup costs cycles to run and more
importantly causes users to have to install it since it is not an
automatic dependency.
In addition, binary packages are now kept by default when building, so
the old version should be accessible in case of trouble.
This commit does not change the non-destdir case. Almost no one uses
that method, and the relative benefit of tarup is much higher.
diffstat:
mk/pkgformat/pkg/replace.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 643940c935be -r b895a0578d4c mk/pkgformat/pkg/replace.mk
--- a/mk/pkgformat/pkg/replace.mk Mon Sep 19 12:15:35 2016 +0000
+++ b/mk/pkgformat/pkg/replace.mk Mon Sep 19 12:26:08 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.3 2016/04/10 15:58:03 joerg Exp $
+# $NetBSD: replace.mk,v 1.4 2016/09/19 12:26:08 gdt Exp $
#
# _pkgformat-destdir-replace:
@@ -22,9 +22,9 @@
replace-fixup-installed-info \
.PHONY
+# tarup is omitted for DESTDIR, because the benefits are very small
_pkgformat-destdir-replace: \
replace-names \
- replace-tarup \
replace-destdir \
.PHONY
Home |
Main Index |
Thread Index |
Old Index