mirror of
https://github.com/opnsense/src.git
synced 2026-05-25 02:35:01 -04:00
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
|
||
|---|---|---|
| .. | ||
| distextract | ||
| distfetch | ||
| partedit | ||
| scripts | ||
| bsdinstall | ||
| bsdinstall.8 | ||
| Makefile | ||
| Makefile.depend | ||
| Makefile.inc | ||