svn commit: r318633 - head/usr.sbin/bsdinstall/scripts
Roger Pau Monné
royger at FreeBSD.org
Mon May 22 11:41:19 UTC 2017
Author: royger
Date: Mon May 22 11:41:17 2017
New Revision: 318633
URL: https://svnweb.freebsd.org/changeset/base/318633
Log:
bsdinstall: do not use distextract in scripted mode
It requires a tty, which might not be available in scripted installs. Instead
extract the sets manually using tar.
Reviewed by: tsoome
Sponsored by: Citrix Systems R&D
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D10736
Modified:
head/usr.sbin/bsdinstall/scripts/script
Modified: head/usr.sbin/bsdinstall/scripts/script
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/script Mon May 22 11:38:39 2017 (r318632)
+++ head/usr.sbin/bsdinstall/scripts/script Mon May 22 11:41:17 2017 (r318633)
@@ -114,7 +114,10 @@ fi
# Unpack distributions
bsdinstall checksum
-bsdinstall distextract
+for set in $DISTRIBUTIONS; do
+ f_dprintf "Extracting $BSDINSTALL_DISTDIR/$set"
+ tar -xf "$BSDINSTALL_DISTDIR/$set" -C $BSDINSTALL_CHROOT
+done
# Finalize install
bsdinstall config
More information about the svn-src-head
mailing list