[iso] disable ISO mode for incompatible Manjaro

This commit is contained in:
Pete Batard 2019-07-03 23:07:24 +01:00
parent 3c1ef23ff3
commit 180e6d4364
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
4 changed files with 13 additions and 7 deletions

View file

@ -91,6 +91,7 @@ static const char* pe_file[] = { "ntdetect.com", "setupldr.bin", "txtsetup.sif"
static const char* reactos_name = "setupldr.sys"; // TODO: freeldr.sys doesn't seem to work
static const char* kolibri_name = "kolibri.img";
static const char* autorun_name = "autorun.inf";
static const char* manjaro_marker = ".miso";
static const char* stupid_antivirus = " NOTE: This is usually caused by a poorly designed security solution. "
"See https://goo.gl/QTobxX.\r\n This file will be skipped for now, but you should really "
"look into using a *SMARTER* antivirus solution.";
@ -201,6 +202,9 @@ static BOOL check_iso_props(const char* psz_dirname, int64_t file_length, const
if (safe_stricmp(psz_basename, bootmgr_efi_name) == 0) {
img_report.has_efi |= 1;
}
if (safe_stricmp(psz_basename, manjaro_marker) == 0) {
img_report.disable_iso = TRUE;
}
}
// Check for ReactOS' setupldr.sys anywhere