Fix build error while creating CHD image

While building CHD image, it failed with the error

KeyError: 'system_dlkm_base_fs_file'

Fix the build error by deleting proper props in the python code.

Bug: 359578756
Test: Building CHD image using build_cf_hybrid_device.py should not failed
Change-Id: Iae84ff080b8f6bf3b8d22b26865ea3e74815ac37
This commit is contained in:
JaeMan Park
2024-08-14 14:11:15 +09:00
parent 5ab8f4a84b
commit b3795b7933

View File

@@ -933,7 +933,7 @@ def LoadInfoDict(input_file, repacking=False):
else:
logger.warning(
"Failed to find %s fro %s", filename, prop)
del d[key_name]
del d[prop]
# Redirect erofs_[default_]compress_hints files
redirect_file("erofs_default_compress_hints",