Module Name: src
Committed By: martin
Date: Tue Nov 12 18:04:37 UTC 2019
Modified Files:
src/usr.sbin/sysinst: util.c
Log Message:
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)
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/sysinst/util.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/sysinst/util.c
diff -u src/usr.sbin/sysinst/util.c:1.35 src/usr.sbin/sysinst/util.c:1.36
--- src/usr.sbin/sysinst/util.c:1.35 Tue Nov 12 16:33:14 2019
+++ src/usr.sbin/sysinst/util.c Tue Nov 12 18:04:37 2019
@@ -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 @@ extract_file(distinfo *dist, int update)
/* 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);