freebsd-src/usr.sbin
Nathan Whitehorn 40923b0c81 Fix scripted installation from media without local distfiles.
The bsdinstall script target did not have the infrastructure to fetch
distfiles from a remote server the way the interactive installer does
on e.g. bootonly media. Solve this by factoring out the parts of the
installer that deal with fetching missing distributions into a new
install stage called 'fetchmissingdists', which is called by both the
interactive and scripted installer frontends.

In the course of these changes, cleaned up a few other issues with
the fetching of missing distribution files and added a warning if
fetching the MANIFEST file, which is used to verify the integrity of
the distribution files. We should at some point add cryptographic
signatures to MANIFEST so that it can be fetched safely if not present
on the install media (which it is for bootonly media).

Initial patch by: Vinícius Zavam
PR:		255659, 250928
Reviewed by:	dteske
MFC after:	4 weeks
Differential Revision:	https://reviews.freebsd.org/D27121
2021-05-28 10:01:27 -04:00
..
ac Add some HISTORY sections to manpages 2020-02-19 12:49:49 +00:00
accton
acpi Print DeviceHandle and PhysicalId in hex. 2021-02-05 16:15:53 -05:00
adduser adduser: allow standard IFS characters in passwords 2020-04-05 19:25:46 +00:00
ancontrol
apm
apmd
arp arp(8): fixing the deletion failure of IEEE1394 associated addresses 2021-04-13 22:59:58 +00:00
audit
auditd
auditdistd auditdistd: Remove useless linking with libl 2020-03-24 07:08:39 +00:00
auditreduce
authpf authpf: Start using libpfctl 2021-05-07 22:13:31 +02:00
autofs autofs: best effort to maintain mounttab and mountdtab 2021-03-12 06:41:55 -09:00
bhyve bhyve/snapshot: split up mutex/cond initialization from socket creation 2021-05-21 11:23:06 -08:00
bhyvectl bhyve/snapshot: provide a way to send other messages/data to bhyve 2021-05-12 17:20:15 -08:00
bhyveload bhyveload(8): Implement loader_callbacks::diskwrite 2020-10-07 20:31:13 +00:00
binmiscctl binmiscctl: Avoid segfault with "binmiscctl add" and no extra params 2021-02-08 09:20:38 -05:00
blacklistctl
blacklistd
bluetooth iwmbtfw(8): Add support for Intel 7260/7265 bluetooth adapter firmwares 2021-05-05 02:50:32 +03:00
boot0cfg Revert r362466 2020-06-22 07:46:24 +00:00
bootparamd bootparamd: Add missing __unused mark. 2021-01-03 00:40:34 +09:00
bsdconfig bsdconfig: remove ftp7.ua.freebsd.org mirror 2021-04-06 10:32:23 +08:00
bsdinstall Fix scripted installation from media without local distfiles. 2021-05-28 10:01:27 -04:00
bsnmpd bsnmpd: Return the correct uptime. 2021-05-05 15:12:38 -06:00
btxld
camdd camdd(8): Fix the man page date 2020-12-19 13:17:25 +00:00
cdcontrol
certctl certctl: factor out certname resolution 2021-01-08 22:36:22 -06:00
chkgrp
chown fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
chroot Chroot first appeared in 4.3-Reno, not in 4.4 in the BSD world, 2020-06-26 22:23:15 +00:00
ckdist fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
clear_locks
config config: style for '\0' and NULL 2021-04-19 16:10:12 -06:00
cpucontrol cpucontrol(8): Fix display. 2021-02-05 03:22:26 +02:00
crashinfo crashinfo: Add references to the gdb port/package 2020-12-02 19:58:50 +00:00
cron cron: consume blanks in system crontabs before options 2021-03-03 23:23:31 -08:00
crunch Lift scope of buf[] to make it extend to a potential access via *basename 2020-12-10 09:31:05 +00:00
ctladm Introduce "soft" serseq variant. 2021-04-06 17:27:16 -04:00
ctld Fix typo in an_initator_name. 2020-12-30 13:05:41 -05:00
cxgbetool cxgbetool(8): add a 'clip' subcommand to deal with the CLIP table. 2021-05-23 16:28:31 -07:00
daemon daemon: add some basic tests 2021-05-03 09:55:40 -06:00
dconschat dconschat: Remove support for FreeBSD 4.x and earlier. 2021-04-20 15:51:31 -06:00
devctl devctl(8): Correct "sections out of conventional order" error 2020-12-19 13:05:54 +00:00
devinfo Fix devinfo typo. 2021-01-05 14:56:23 -05:00
diskinfo Make "diskinfo -i" also test 1MB reads. 2020-12-10 10:23:18 +00:00
dumpcis
editmap
edquota edquota(8): Cleanup to make it WARNS=6 clean. 2020-08-17 05:57:22 +00:00
efibootmgr efibootmgr: Check for efi supported after parsing args 2021-02-11 16:09:51 -07:00
efidp
efivar efivar: use bool for booleans 2021-04-09 16:36:44 -06:00
etcupdate etcupdate: Add -D destdir to usage for 'extract'. 2021-04-26 09:49:34 -07:00
extattr vfs_extattr: Allow extattr names up to the full max 2020-05-14 03:01:23 +00:00
extattrctl Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
fdcontrol
fdformat Add example usage for formatting a floppy disk. Adding a more self 2020-05-25 07:18:47 +00:00
fdread
fdwrite
fifolog [fifolog] wrap the recno when we hit the end of the provided file size. 2020-06-28 06:52:39 +00:00
flowctl
freebsd-update freebsd-update: improve mandoc db generation 2021-04-05 13:23:37 -04:00
fstyp fstyp(8): define HAVE_ZFS macro when built with zfs 2021-05-14 13:00:24 -08:00
ftp-proxy (t)ftp-proxy: use libpfctl 2021-04-10 11:16:02 +02:00
fwcontrol fwcontrol: Remove support for FreeBSD 4.x 2021-04-20 15:51:31 -06:00
getfmac
getpmac
gpioctl Provide userland notification of gpio pin changes ("userland gpio interrupts"). 2020-12-12 18:34:15 +00:00
gssd Remove the -o option from gssd(8). 2020-04-10 23:10:28 +00:00
gstat gstat(8): Bump .Dd 2021-01-06 19:04:09 +01:00
hyperv
i2c i2c(8): Add interpreted mode for batch/scripted i2c operations 2021-05-19 18:56:59 +00:00
ifmcstat
inetd inetd.conf: Wordsmith recommendation 2021-03-18 15:17:32 +01:00
iostat Fix formatting for tps values between 99.95 and 99.99; previously 2020-02-21 20:57:32 +00:00
iovctl Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
ip6addrctl
ipfwpcap
iscsid iscsid(8): fix memory leak by freeing the 'addr' 2020-12-29 14:53:06 +00:00
jail jail.conf(5): emphasize where to find jail parameters 2021-04-18 17:58:16 +02:00
jexec
jls Bugfix to not hide jailparam flags, which for example changes the output 2020-12-15 20:56:35 +00:00
kbdcontrol
kbdmap
keyserv
kldxref kldxref: do not error out if specified path is not directory, for -d mode 2021-05-20 22:40:01 +03:00
lastlogin
lpr sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
lptcontrol
mailstats
mailwrapper Make use of the getlocalbase() function for run-time adjustment of the 2020-11-18 20:00:55 +00:00
makefs Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-06 13:43:29 -04:00
makemap
manctl
memcontrol
mergemaster sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
mfiutil
mixer mixer: call the cleanup function in a test 2020-02-06 14:31:29 +00:00
mld6query
mlx5tool Fix a few mandoc issues 2020-10-09 19:12:44 +00:00
mlxcontrol
mount_smbfs
mountd mountd(8): generate a syslog message when the "V4:" line is missing 2021-03-08 16:08:02 -08:00
moused moused(8): Fix a few mandoc warnings 2020-11-20 17:04:49 +00:00
mpsutil mpsutil: extend show adapter information, add NCQ control 2021-05-07 15:22:22 +03:00
mptable
mptutil
mtest
ndp Fix arp/ndp deletion broken by 2fe5a79425. 2021-02-19 21:17:17 +00:00
newsyslog newsyslog(8): Implement a new 'E' flag to not rotate empty log files 2021-02-28 23:32:19 +01:00
nfscbd Change the type of "len" to avoid warnings. 2020-04-18 23:46:58 +00:00
nfsd nfsd: silence rpcb_unset noise for NFSv4 only servers 2021-04-01 15:09:03 -07:00
nfsdumpstate align nfsdumpstate column output 2021-03-24 16:33:41 -04:00
nfsrevoke
nfsuserd Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
ngctl build: remove LIBPTHREAD/LIBTHR build options 2021-01-22 12:33:27 -06:00
nghook
nmtree Allow bootstrapping mtree on Linux systems 2020-08-03 18:08:10 +00:00
nologin Revert 363598 2020-08-17 10:25:02 +00:00
nscd nscd: does not warn about invalid values what parsing config file 2020-07-11 19:44:12 +00:00
ntp Disable stack gap for ntpd during build. 2021-05-21 15:33:06 +02:00
nvram [PowerPC] De-giant powermac_nvram, update documentation 2020-06-19 18:36:10 +00:00
ofwdump [PowerPC] Allow traversal of oversize OF properties. 2020-11-13 16:49:41 +00:00
pciconf Create VM_MEMATTR_DEVICE on all architectures 2021-04-12 06:15:31 +00:00
periodic Fix daily_backup_gpart_exclude in periodic daily 221.backup-gpart 2020-12-26 19:27:12 -05:00
pkg pkg(7): replace usage of sbuf(9) with open_memstream(3) 2021-04-29 06:41:59 +02:00
pmc Remove redundand redefinion, fixing build. 2020-12-19 01:46:47 +00:00
pmcannotate
pmccontrol
pmcstat pmcstat: fix the usage message for -t 2021-04-21 17:44:52 -03:00
pmcstudy Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
pnfsdscopymr
pnfsdsfile pnfsdsfile(8): Remove dublicate word 'the' 2020-10-10 14:38:01 +00:00
pnfsdskill
pnpinfo
portsnap Now that the portsnap buildbox is generating the raw bits for INDEX-14, 2021-01-28 23:26:14 -08:00
powerd powerd.8: Improve style & fix typos 2020-03-03 13:25:08 +00:00
ppp sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
pppctl pkgbase: Put ppp in it's own package 2021-01-04 16:19:36 +01:00
praliases
praudit usr.sbin/praudit: Fix tests after 5619d49e07 2021-02-03 16:02:46 +00:00
prometheus_sysctl_exporter
pstat pstat(8): improve the Size header width after r358181 2020-06-23 18:19:22 +00:00
pw pw(8): use openmemstream instead of sbuf(9) 2021-04-27 05:09:07 +02:00
pwd_mkdb Fix bootstrapping of pwd_mkdb after r364049 2020-08-11 16:46:38 +00:00
pwm usr.sbin/pwm/pwm add support for flags 2021-03-11 09:57:56 +01:00
quot Move the pointers stored in the superblock into a separate 2020-06-19 01:02:53 +00:00
quotaon
rarpd
repquota
rip6query
rmt tag /etc/rmt symlink with pkgbase package 2020-02-12 17:30:09 +00:00
route6d
rpc.lockd rpc.lockd: Unconditionally close fds as daemon 2021-03-26 14:05:33 -04:00
rpc.statd
rpc.tlsclntd nfs-over-tls: add user space daemons rpc.tlsclntd and rpc.tlsservd 2021-02-18 14:15:03 -08:00
rpc.tlsservd nfs-over-tls: add user space daemons rpc.tlsclntd and rpc.tlsservd 2021-02-18 14:15:03 -08:00
rpc.umntall
rpc.yppasswdd yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
rpc.ypupdated yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
rpc.ypxfrd yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
rpcbind
rrenumd Fix build with recent byacc. 2020-06-24 02:08:08 +00:00
rtadvctl usr.sbin/rtadvctl: Remove support for FreeBSD 9.x. 2021-01-01 16:06:08 -08:00
rtadvd
rtprio
rtsold rtsold: Fix validation of RDNSS options 2021-03-21 14:19:42 -04:00
rwhod Remove reference to nlist(3) missed in SCCS revision 5.26 by mckusick 2020-07-24 16:58:13 +00:00
sa Add some HISTORY sections to manpages 2020-02-19 12:49:49 +00:00
sendmail Merge sendmail 8.16.1 to HEAD: See contrib/sendmail/RELEASE_NOTES for details 2020-07-15 18:28:54 +00:00
service service(8): use an environment more consistent with init(8) 2021-03-03 12:25:11 -06:00
services_mkdb usr.sbin/services_mkdb: plug memory leak when line was blank. 2021-03-30 15:21:37 -07:00
sesutil Fix misplaced voltages/temperatures labels in 'sesutil show'. 2020-06-30 16:49:43 +00:00
setfib
setfmac fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
setpmac
smbmsg
snapinfo
spi Clean up spi.8 2020-08-21 09:48:00 +00:00
spkrtest
spray
syslogd syslogd: Increase message size limits 2021-03-23 12:49:58 -04:00
sysrc
tcpdchk
tcpdmatch
tcpdrop
tcpdump Remove useless linking to libl 2020-03-23 14:44:23 +00:00
tests
traceroute
traceroute6 traceroute6: Properly calculate UDP checksum 2021-05-03 13:24:30 -04:00
trim trim(8): Fix a few issues reported by mandoc 2020-12-19 13:56:19 +00:00
trpt Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
tzsetup Don't link against libdialog/ncurses when bootstrapping tzsetup 2020-08-07 16:04:10 +00:00
uathload
uefisign uefisign: handle empty sections 2021-04-07 11:23:11 -05:00
ugidfw
uhsoctl
unbound Fix local-unbound setup for some IPv6 deployments. 2021-03-10 15:53:22 +00:00
usbconfig
usbdump Implement own command line option for the frequently used -i usbusX -f Y syntax, 2021-05-14 17:15:07 +02:00
utx
valectl netmap: several typo fixes 2021-04-02 07:01:20 +00:00
vidcontrol Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
vigr
vipw
wake
watch
watchdogd
wlandebug wlandebug.8: remove Xref for missing manpages 2021-03-15 10:04:13 +01:00
wpa usr.sbin/wpa: complete the revert of wpa import 2021-04-17 10:48:35 -07:00
yp_mkdb Fix clang 11 -Wformat warnings in yp_mkdb: 2020-08-06 20:31:50 +00:00
ypbind
ypldap Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
yppoll
yppush
ypserv yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
ypset
zic Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
zonectl Cross-reference camcontrol(8) and zonectl(8) man pages. 2021-04-10 10:13:29 +01:00
zzz
Makefile Remove fmtree(8) 2021-03-02 15:22:05 -06:00
Makefile.amd64 Remove kgmon(8) 2021-04-04 00:50:28 +03:00
Makefile.arm Remove kgmon(8) 2021-04-04 00:50:28 +03:00
Makefile.arm64
Makefile.i386 Remove kgmon(8) 2021-04-04 00:50:28 +03:00
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
Makefile.mips
Makefile.powerpc
Makefile.riscv