format/payload: Allow manifests up to 16 MiB

The memory limit prevented some larger incremental OTAs from being
loaded.

Fixes: #593

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
This commit is contained in:
Andrew Gunnerson
2026-04-23 11:24:57 -04:00
parent 462084ac18
commit 21c1dc86ce
+1 -1
View File
@@ -45,7 +45,7 @@ use crate::{
const PAYLOAD_MAGIC: &[u8; 4] = b"CrAU";
const PAYLOAD_VERSION: u64 = 2;
const MANIFEST_MAX_SIZE: usize = 4 * 1024 * 1024;
const MANIFEST_MAX_SIZE: usize = 16 * 1024 * 1024;
/// Size of each extent. This matches what AOSP's delta_generator does. We also
/// require this to be a multiple of the block size and a multiple of the