]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow etdump, makefs and mkimg to be overridden.
authorbenno <benno@FreeBSD.org>
Wed, 25 Apr 2018 18:47:52 +0000 (18:47 +0000)
committerbenno <benno@FreeBSD.org>
Wed, 25 Apr 2018 18:47:52 +0000 (18:47 +0000)
commit498102ca2bcfab3b49b6263c7f52f77f7114e44a
tree7011d30031bc6104434a1da4229111e080c91fa3
parent6c5a0d70113cc6857a91fda663d34e4cd7744ac5
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