opnsense-src/usr.sbin/bsdinstall
Kyle Evans a7766860e0 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>

(cherry picked from commit 12b92f3ed8)
2022-10-24 11:01:01 -05:00
..
distextract Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
distfetch Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
partedit GEOM: Introduce gctl_add_param() API. 2022-04-05 22:07:40 -04:00
scripts bsdinstall: use the correct DISTDIR for fetching local distfiles 2022-10-24 11:01:01 -05:00
bsdinstall bsdinstall: Use TMPDIR if set 2020-01-15 00:45:05 +00:00
bsdinstall.8 beinstall.8: Update example distsites for BSDINSTALL_DISTSITE 2022-07-25 21:53:11 +02:00
Makefile
Makefile.depend
Makefile.inc