Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst PR 54467: we trust our own sets, extract th...



details:   https://anonhg.NetBSD.org/src/rev/d549881ef2ae
branches:  trunk
changeset: 460991:d549881ef2ae
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Nov 12 18:04:37 2019 +0000

description:
PR 54467: we trust our own sets, extract them with -P to allow symlink
redirection (especially for updates and chroot services - back out
once a better solution for those is implemented)

diffstat:

 usr.sbin/sysinst/util.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 350529b5ceaf -r d549881ef2ae usr.sbin/sysinst/util.c
--- a/usr.sbin/sysinst/util.c   Tue Nov 12 18:00:13 2019 +0000
+++ b/usr.sbin/sysinst/util.c   Tue Nov 12 18:04:37 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.35 2019/11/12 16:33:14 martin Exp $ */
+/*     $NetBSD: util.c,v 1.36 2019/11/12 18:04:37 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -975,7 +975,7 @@
 
        /* now extract set files into "./". */
        rval = run_program(RUN_DISPLAY | RUN_PROGRESS,
-                       "progress -zf %s tar --chroot -xpf -", path);
+                       "progress -zf %s tar --chroot -xpPf -", path);
 
        chdir(owd);
        free(owd);



Home | Main Index | Thread Index | Old Index