Merge "releasetools: Always use recovery mount options."
am: 643d466f7b
* commit '643d466f7b853ab4009723e2da200e3a6642d2ad':
releasetools: Always use recovery mount options.
This commit is contained in:
commit
1709cf3768
|
@ -1572,13 +1572,13 @@ endif;
|
||||||
if OPTIONS.verify and system_diff:
|
if OPTIONS.verify and system_diff:
|
||||||
script.Print("Remounting and verifying system partition files...")
|
script.Print("Remounting and verifying system partition files...")
|
||||||
script.Unmount("/system")
|
script.Unmount("/system")
|
||||||
script.Mount("/system")
|
script.Mount("/system", recovery_mount_options)
|
||||||
system_diff.EmitExplicitTargetVerification(script)
|
system_diff.EmitExplicitTargetVerification(script)
|
||||||
|
|
||||||
if OPTIONS.verify and vendor_diff:
|
if OPTIONS.verify and vendor_diff:
|
||||||
script.Print("Remounting and verifying vendor partition files...")
|
script.Print("Remounting and verifying vendor partition files...")
|
||||||
script.Unmount("/vendor")
|
script.Unmount("/vendor")
|
||||||
script.Mount("/vendor")
|
script.Mount("/vendor", recovery_mount_options)
|
||||||
vendor_diff.EmitExplicitTargetVerification(script)
|
vendor_diff.EmitExplicitTargetVerification(script)
|
||||||
script.AddToZip(target_zip, output_zip, input_path=OPTIONS.updater_binary)
|
script.AddToZip(target_zip, output_zip, input_path=OPTIONS.updater_binary)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue