freebsd-dev/usr.sbin/bsdinstall
Kyle Evans 12b92f3ed8 bsdinstall: use the correct DISTDIR for fetching local distfiles
fetchmissingdists naturally sets BSDINSTALL_DISTDIR to a directory in
the new filesystem that it can write fetched distfiles to.  As a result,
BSDINSTALL_DISTSITE was incorrectly set to the scratch space on /mnt for
the call to distfetch when grabbing local distfiles, and it would
subsequently fail.

Switch to using the copy of BSDINSTALL_DISTDIR that we stashed off
coming into fetchmissingdists; this one is in-fact set to the path where
the local distfiles are stored.

Patch suggested by jrtc27.

Reported and tested by: Daniel O'Connor <darius dons net au>
MFC after:	1 week
2022-10-14 00:22:09 -05:00
..
distextract bsdinstall: allow whitelabeling the installer 2022-05-13 10:35:43 -06:00
distfetch bsdinstall: allow whitelabeling the installer 2022-05-13 10:35:43 -06:00
partedit bsdinstall: allow whitelabeling the installer 2022-05-13 10:35:43 -06:00
runconsoles bsdinstall: Add a new runconsoles helper binary 2022-10-03 17:09:16 +01:00
scripts bsdinstall: use the correct DISTDIR for fetching local distfiles 2022-10-14 00:22:09 -05:00
bsdinstall bsdinstall: Use TMPDIR if set 2020-01-15 00:45:05 +00:00
bsdinstall.8 bsdinstall: allow setting the root password via env variables 2022-08-05 09:10:21 -06:00
Makefile bsdinstall release: Move code to a new startbsdinstall wrapper 2022-10-03 17:09:16 +01:00
Makefile.depend
Makefile.inc
startbsdinstall bsdinstall: Fix race condition when shutting down after installation 2022-10-06 20:04:04 +01:00