mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	[iso] fix loader/entries/*.conf labels for Arch derivatives...
* ...that didn't get the memo about using UPPERCASE 11-chars max ISO labels. * There's a reason why Arch labels its ISOs 'ARCH_YYYYMM', people! * Anyway, EndeavourOS should now work in ISO mode when booted from UEFI.
This commit is contained in:
		
							parent
							
								
									8e2a9797cd
								
							
						
					
					
						commit
						a787fb34b3
					
				
					 3 changed files with 14 additions and 8 deletions
				
			
		|  | @ -11,7 +11,7 @@ | ||||||
|   <Identity |   <Identity | ||||||
|     Name="19453.net.Rufus" |     Name="19453.net.Rufus" | ||||||
|     Publisher="CN=7AC86D13-3E5A-491A-ADD5-80095C212740" |     Publisher="CN=7AC86D13-3E5A-491A-ADD5-80095C212740" | ||||||
|     Version="3.16.1816.0" /> |     Version="3.16.1817.0" /> | ||||||
| 
 | 
 | ||||||
|   <Properties> |   <Properties> | ||||||
|     <DisplayName>Rufus</DisplayName> |     <DisplayName>Rufus</DisplayName> | ||||||
|  |  | ||||||
							
								
								
									
										10
									
								
								src/iso.c
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								src/iso.c
									
										
									
									
									
								
							|  | @ -177,6 +177,12 @@ static BOOL check_iso_props(const char* psz_dirname, int64_t file_length, const | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | 	// Check for archiso loader/entries/*.conf files
 | ||||||
|  | 	if (safe_stricmp(psz_dirname, "/loader/entries") == 0) { | ||||||
|  | 		size_t len = strlen(psz_basename); | ||||||
|  | 		props->is_conf = ((len > 4) && (stricmp(&psz_basename[len - 5], ".conf") == 0)); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
| 	// Check for an old incompatible c32 file anywhere
 | 	// Check for an old incompatible c32 file anywhere
 | ||||||
| 	for (i = 0; i < NB_OLD_C32; i++) { | 	for (i = 0; i < NB_OLD_C32; i++) { | ||||||
| 		if ((safe_stricmp(psz_basename, old_c32_name[i]) == 0) && (file_length <= old_c32_threshold[i])) | 		if ((safe_stricmp(psz_basename, old_c32_name[i]) == 0) && (file_length <= old_c32_threshold[i])) | ||||||
|  | @ -571,7 +577,7 @@ static int udf_extract_files(udf_t *p_udf, udf_dirent_t *p_udf_dirent, const cha | ||||||
| 			// The drawback however is with cancellation. With a large file, CloseHandle()
 | 			// The drawback however is with cancellation. With a large file, CloseHandle()
 | ||||||
| 			// may take forever to complete and is not interruptible. We try to detect this.
 | 			// may take forever to complete and is not interruptible. We try to detect this.
 | ||||||
| 			ISO_BLOCKING(safe_closehandle(file_handle)); | 			ISO_BLOCKING(safe_closehandle(file_handle)); | ||||||
| 			if (props.is_cfg) | 			if (props.is_cfg || props.is_conf) | ||||||
| 				fix_config(psz_sanpath, psz_path, psz_basename, &props); | 				fix_config(psz_sanpath, psz_path, psz_basename, &props); | ||||||
| 			safe_free(psz_sanpath); | 			safe_free(psz_sanpath); | ||||||
| 		} | 		} | ||||||
|  | @ -797,7 +803,7 @@ static int iso_extract_files(iso9660_t* p_iso, const char *psz_path) | ||||||
| 					uprintf("  Could not set timestamp: %s", WindowsErrorString()); | 					uprintf("  Could not set timestamp: %s", WindowsErrorString()); | ||||||
| 			} | 			} | ||||||
| 			ISO_BLOCKING(safe_closehandle(file_handle)); | 			ISO_BLOCKING(safe_closehandle(file_handle)); | ||||||
| 			if (props.is_cfg) | 			if (props.is_cfg || props.is_conf) | ||||||
| 				fix_config(psz_sanpath, psz_path, psz_basename, &props); | 				fix_config(psz_sanpath, psz_path, psz_basename, &props); | ||||||
| 			safe_free(psz_sanpath); | 			safe_free(psz_sanpath); | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
							
								
								
									
										10
									
								
								src/rufus.rc
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								src/rufus.rc
									
										
									
									
									
								
							|  | @ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL | ||||||
| IDD_DIALOG DIALOGEX 12, 12, 232, 326 | IDD_DIALOG DIALOGEX 12, 12, 232, 326 | ||||||
| STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | ||||||
| EXSTYLE WS_EX_ACCEPTFILES | EXSTYLE WS_EX_ACCEPTFILES | ||||||
| CAPTION "Rufus 3.16.1816" | CAPTION "Rufus 3.16.1817" | ||||||
| FONT 9, "Segoe UI Symbol", 400, 0, 0x0 | FONT 9, "Segoe UI Symbol", 400, 0, 0x0 | ||||||
| BEGIN | BEGIN | ||||||
|     LTEXT           "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP |     LTEXT           "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP | ||||||
|  | @ -395,8 +395,8 @@ END | ||||||
| // | // | ||||||
| 
 | 
 | ||||||
| VS_VERSION_INFO VERSIONINFO | VS_VERSION_INFO VERSIONINFO | ||||||
|  FILEVERSION 3,16,1816,0 |  FILEVERSION 3,16,1817,0 | ||||||
|  PRODUCTVERSION 3,16,1816,0 |  PRODUCTVERSION 3,16,1817,0 | ||||||
|  FILEFLAGSMASK 0x3fL |  FILEFLAGSMASK 0x3fL | ||||||
| #ifdef _DEBUG | #ifdef _DEBUG | ||||||
|  FILEFLAGS 0x1L |  FILEFLAGS 0x1L | ||||||
|  | @ -414,13 +414,13 @@ BEGIN | ||||||
|             VALUE "Comments", "https://rufus.ie" |             VALUE "Comments", "https://rufus.ie" | ||||||
|             VALUE "CompanyName", "Akeo Consulting" |             VALUE "CompanyName", "Akeo Consulting" | ||||||
|             VALUE "FileDescription", "Rufus" |             VALUE "FileDescription", "Rufus" | ||||||
|             VALUE "FileVersion", "3.16.1816" |             VALUE "FileVersion", "3.16.1817" | ||||||
|             VALUE "InternalName", "Rufus" |             VALUE "InternalName", "Rufus" | ||||||
|             VALUE "LegalCopyright", "© 2011-2021 Pete Batard (GPL v3)" |             VALUE "LegalCopyright", "© 2011-2021 Pete Batard (GPL v3)" | ||||||
|             VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html" |             VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html" | ||||||
|             VALUE "OriginalFilename", "rufus-3.16.exe" |             VALUE "OriginalFilename", "rufus-3.16.exe" | ||||||
|             VALUE "ProductName", "Rufus" |             VALUE "ProductName", "Rufus" | ||||||
|             VALUE "ProductVersion", "3.16.1816" |             VALUE "ProductVersion", "3.16.1817" | ||||||
|         END |         END | ||||||
|     END |     END | ||||||
|     BLOCK "VarFileInfo" |     BLOCK "VarFileInfo" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue