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/00fa2e3f36af
branches:  trunk
changeset: 1004743:00fa2e3f36af
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 3ceeb00cfbc3 -r 00fa2e3f36af 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