Skip the checks in mtools. They are false positive for errors.

This commit is contained in:
Warner Losh 2016-10-18 04:01:54 +00:00
parent 784ce8fad2
commit 8e43cd8506
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307546

View File

@ -207,6 +207,8 @@ create_diskimage_mbr ( ) (
(
local extra i sz fmt fmtarg bootmbr bootbsd skiparg
set -o xtrace
# Tell mtools not to be too picky
export MTOOLS_SKIP_CHECK=1
[ -z ${NANO_DISKIMAGE_FORMAT} ] || fmtarg="-f ${NANO_DISKIMAGE_FORMAT}"
[ -z ${NANO_DISKIMAGE_FORMAT} ] || fmt=".${NANO_DISKIMAGE_FORMAT}"