forked from openkylin/platform_build
Merge "releasetools: Fix one missing case for --oem_no_mount." am: 4e677900f7
am: aa82bd62cb
* commit 'aa82bd62cb65ae91eadd53f2d37ac5b57c1fc584':
releasetools: Fix one missing case for --oem_no_mount.
This commit is contained in:
commit
a1d5fd2384
|
@ -1424,7 +1424,8 @@ def WriteIncrementalOTAPackage(target_zip, source_zip, output_zip):
|
||||||
if oem_props is not None and len(oem_props) > 0:
|
if oem_props is not None and len(oem_props) > 0:
|
||||||
if OPTIONS.oem_source is None:
|
if OPTIONS.oem_source is None:
|
||||||
raise common.ExternalError("OEM source required for this build")
|
raise common.ExternalError("OEM source required for this build")
|
||||||
script.Mount("/oem", recovery_mount_options)
|
if not OPTIONS.oem_no_mount:
|
||||||
|
script.Mount("/oem", recovery_mount_options)
|
||||||
oem_dict = common.LoadDictionaryFromLines(
|
oem_dict = common.LoadDictionaryFromLines(
|
||||||
open(OPTIONS.oem_source).readlines())
|
open(OPTIONS.oem_source).readlines())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue