Ignore odm images in Lz4Handler

This commit is contained in:
Jakob Lell 2021-05-25 10:56:57 +02:00
parent f3069f050e
commit d7efa54155
1 changed files with 2 additions and 0 deletions

View File

@ -1107,6 +1107,8 @@ class Lz4Handler(FileHandler):
return CheckFileResult.IGNORE
if self.fn.lower().startswith(b"modem"):
return CheckFileResult.IGNORE
if self.fn.lower().startswith(b"odm."):
return CheckFileResult.IGNORE
if self.fn.lower().startswith(b"system"):
self.image_type = ImageType.SYSTEM
return CheckFileResult.SYSTEM_IMG