bsdinstall: allow an install script to access packages on the DVD
authorAlan Somers <asomers@FreeBSD.org>
Thu, 26 May 2022 21:39:20 +0000 (15:39 -0600)
committerAlan Somers <asomers@FreeBSD.org>
Mon, 13 Jun 2022 19:27:51 +0000 (13:27 -0600)
commit6a02539959cb36c4777f962d3d7ef4a76fbe0c24
tree92d3df9f89655804a4815fe1e4d776ad436e970e
parentf92e0d6acda3abd16c6d411bf90ef26c4e3c40c4
bsdinstall: allow an install script to access packages on the DVD

If installing from the DVD, mount its packages in the chroot at
/dist/packages.  That way they'll be accessible to an install script.

MFC after: 2 weeks
Sponsored by: Axcient
Reviewed by: gjb
Differential Revision: https://reviews.freebsd.org/D35330
usr.sbin/bsdinstall/scripts/mount
usr.sbin/bsdinstall/scripts/umount