opnsense-src/usr.sbin/bsdinstall/scripts
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
..
adduser Make messages about typos appear on the screen instead of in the log file. 2011-08-21 18:49:28 +00:00
auto bsdinstall: Only show menu if there are more items to be installed 2021-07-27 16:05:41 -04:00
bootconfig bsdinstall: bootconfig: Try to clean old efi boot entries 2021-12-30 10:09:57 +01:00
checksum bsdinstall: improve checksum mismatch error for snapshots 2017-07-19 18:25:52 +00: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-17 16:31:01 +02:00
entropy Explicitly set permissions on entropy files 2015-12-28 17:27:20 +00:00
fetchmissingdists bsdinstall: use the correct DISTDIR for fetching local distfiles 2022-10-24 11:01:01 -05:00
hardening Revert "bsdinstall: add knob to set ASLR sysctls" 2022-07-19 11:37:31 +02:00
hostname Whitespace alignment in bsdinstall hostname 2018-10-26 01:57:32 +00:00
jail bsdinstall: Fix mirror selection 2021-11-18 07:46:25 +01:00
keymap Remove unused MAPDESCFILE. 2018-08-11 14:45:33 +00:00
Makefile Fix scripted installation from media without local distfiles. 2021-06-25 20:35:04 -04:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
mirrorselect bsdinstall: add a new mirror in Bulgaria 2021-06-20 11:21:39 +08:00
mount bsdinstall: allow an install script to access packages on the DVD 2022-07-24 09:39:58 -06:00
netconfig Adapt to new wireless scheme where base wlan interfaces do not show up in 2015-12-06 00:20:45 +00:00
netconfig_ipv4 bsdinstall: only kill the dhclient for the interface we are restarting 2020-07-11 17:20:17 +00:00
netconfig_ipv6 bsdinstall: remove EOL whitespace 2017-07-18 23:35:19 +00:00
rootpass bsdinstall: inform users that typing will not be visible 2018-01-01 22:10:21 +00:00
script bsdinstall/script: umount before zpool export 2022-05-16 17:24:56 +02:00
services bsdinstall: Add ntpdate option 2017-11-22 15:27:47 +00:00
time Make the new 'set date and time' dialog default to skip 2016-07-14 00:41:19 +00:00
umount bsdinstall: allow an install script to access packages on the DVD 2022-07-24 09:39:58 -06:00
wlanconfig Fix indentation in bsdinstall-created wpa_supplicant.conf 2020-05-20 21:39:19 +00:00
zfsboot bsdinstall: fix prepopulating the ZFS disk menu with ZFSBOOT_DISKS 2022-07-24 09:39:44 -06:00