[iso] fix "ISO has not been properly scanned" error for some ISOs

* Make sure that if we skip a deep directory during scan, we count at
  least one block of data.
* Also produce a note about deep directory long scan times and improve
  the formatting of some messages.
This commit is contained in:
Pete Batard 2020-10-12 19:33:54 +01:00
parent 2d272b7991
commit 318d5ed16d
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
3 changed files with 14 additions and 8 deletions

View file

@ -1089,11 +1089,12 @@ static void DisplayISOProps(void)
(img_report.wininst_version >= SPECIAL_WIM_VERSION) ? "+": "");
}
PRINT_ISO_PROP(img_report.has_symlinks,
" Note: This ISO uses symbolic links, which will not be replicated due to file system limitations.");
" Note: This ISO uses symbolic links, which will not be replicated due to file system");
PRINT_ISO_PROP((img_report.has_symlinks == SYMLINKS_RR),
" Because of this, some features from this image may not work...");
" limitations. Because of this, some features from this image may not work...");
PRINT_ISO_PROP((img_report.has_symlinks == SYMLINKS_UDF),
" Because of this, the size required for the target media may be much larger than size of the ISO...");
" limitations. Because of this, the size required for the target media may be much\r\n"
" larger than size of the ISO...");
}
// Insert the image name into the Boot selection dropdown and (re)populate the Image option dropdown