freebsd-dev/usr.sbin/bsdinstall/scripts
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
..
adduser bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
auto bsdinstall: add hooks to allow for easier customizing the install 2022-10-03 09:50:42 -06:00
bootconfig Capitalize title like in all other titles. 2022-09-14 13:42:43 +02:00
checksum bsdinstall: fix a couple stragglers in whitelabeling the scripts 2022-09-14 11:06:11 -06:00
config Revert r361257: bsdinstall: do a certctl rehash upon installation [...] 2020-09-17 20:35:45 +00:00
docsinstall bsdinstall/scripts/docsinstall: Add Indonesian Documentation 2022-06-06 13:44:43 +02:00
entropy
fetchmissingdists bsdinstall: use the correct DISTDIR for fetching local distfiles 2022-10-14 00:22:09 -05:00
hardening bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
hostname bsdinstall(8) hostname: Update for bsddialog 0.3 2022-09-03 22:15:12 +02:00
jail bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
keymap bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
Makefile bsdinstall: break list of scripts out to one per line to make adding/removing entries easier 2022-05-24 09:30:31 -06:00
Makefile.depend
mirrorselect bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
mount bsdinstall: allow an install script to access packages on the DVD 2022-06-13 13:27:51 -06:00
netconfig bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
netconfig_ipv4 bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
netconfig_ipv6 bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
rootpass bsdinstall: allow setting the root password via env variables 2022-08-05 09:10:21 -06:00
script bsdinstall/script: umount before zpool export 2022-05-03 16:02:39 +02:00
services bsdinstall: replace ntpdate by ntpd_sync_on_start 2022-09-27 09:04:20 +00:00
time bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
umount bsdinstall: allow an install script to access packages on the DVD 2022-06-13 13:27:51 -06:00
wlanconfig bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
zfsboot bsdinstall: improve zfsboots ability to handle datasets under a BE 2022-06-23 09:21:08 -06:00