Page MenuHomeFreeBSD

bsdinstall: fix the checksum step to work without a tty for non-interactive
AbandonedPublic

Authored by royger on May 15 2017, 1:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 15 2024, 2:33 PM
Unknown Object (File)
Jan 10 2024, 5:42 PM
Unknown Object (File)
Nov 30 2023, 2:21 AM
Unknown Object (File)
Oct 24 2023, 11:55 PM
Unknown Object (File)
Sep 2 2023, 7:52 PM
Unknown Object (File)
Jul 13 2023, 10:40 AM
Unknown Object (File)
Jul 4 2023, 1:07 PM
Unknown Object (File)
Jun 15 2023, 10:03 AM
Subscribers
None

Details

Reviewers
None
Summary

Use f_dprintf instead of dialog if the install is non-interactive, this is
needed so bsdinstall can be run without a tty.

Sponsored by: Citrix Systems R&D

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.

Sponsored by: Citrix Systems R&D

bsdinstall: fetch the sets in the scripted install

Fetch the sets is they are not available in the scripted install case.

Sponsored by: Citrix Systems R&D

bsdinstall: mount is not needed for the ZFS install case

Because the datasets are already mounted by zfsboot, and the mount script
doesn't know anything about ZFS. Also do not execute the "umount" script for
ZFS for the same reasons.

Sponsored by: Citrix Systems R&D

bsdinstall: do not use a dialog in the scripted install error path

Replace the usage of dialog with a f_dprintf instead.

Sponsored by: Citrix Systems R&D

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9262
Build 9715: arc lint + arc unit