Allow etdump, makefs and mkimg to be overridden.
authorBenno Rice <benno@FreeBSD.org>
Wed, 25 Apr 2018 18:47:52 +0000 (18:47 +0000)
committerBenno Rice <benno@FreeBSD.org>
Wed, 25 Apr 2018 18:47:52 +0000 (18:47 +0000)
commit6ea29847383b67e4a6ee26056d217c3e50bf8515
tree7011d30031bc6104434a1da4229111e080c91fa3
parentcbbd5be004192b7554dcafd235cff149b4bce5a5
Allow etdump, makefs and mkimg to be overridden.

Recent changes to makefs and mkimg have led to situations where the
disconnect between this script and the versions installed on the host cause
failures. Provide a way to work around this that doesn't require the
installation of new versions to the host system if that's not desired.

With this change mkisoimages.sh will honour the $ETDUMP, $MAKEFS and $MKIMG
environment variables but fall back to the previous behaviour of finding them
within $PATH.

Reviewed by: gjb
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D15181
release/amd64/mkisoimages.sh