freebsd-nq/usr.sbin/bsdinstall
Nathan Whitehorn 40923b0c81 Fix scripted installation from media without local distfiles.
The bsdinstall script target did not have the infrastructure to fetch
distfiles from a remote server the way the interactive installer does
on e.g. bootonly media. Solve this by factoring out the parts of the
installer that deal with fetching missing distributions into a new
install stage called 'fetchmissingdists', which is called by both the
interactive and scripted installer frontends.

In the course of these changes, cleaned up a few other issues with
the fetching of missing distribution files and added a warning if
fetching the MANIFEST file, which is used to verify the integrity of
the distribution files. We should at some point add cryptographic
signatures to MANIFEST so that it can be fetched safely if not present
on the install media (which it is for bootonly media).

Initial patch by: Vinícius Zavam
PR:		255659, 250928
Reviewed by:	dteske
MFC after:	4 weeks
Differential Revision:	https://reviews.freebsd.org/D27121
2021-05-28 10:01:27 -04:00
..
distextract bsdinstall: remove compat hacks for FreeBSD 9 and earlier 2021-04-20 15:51:31 -06:00
distfetch Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
partedit bsdinstall: Drop vestigial bsdinstall-esps cleanup 2021-03-26 14:12:18 -04:00
scripts Fix scripted installation from media without local distfiles. 2021-05-28 10:01:27 -04:00
bsdinstall bsdinstall: Use TMPDIR if set 2020-01-15 00:45:05 +00:00
bsdinstall.8 Tweak language involving ZFS installation; no content changes. 2021-04-05 10:23:41 -04:00
Makefile
Makefile.depend
Makefile.inc