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
This commit is contained in:
parent
2f34d6c344
commit
d7640440fb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318633
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user