mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 09:37:08 -04:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue