diff options
author | Huang Jianan <huangjianan@oppo.com> | 2020-12-04 16:53:06 +0800 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2021-09-27 21:17:05 +0800 |
commit | 2688eda1171027051b7db69b8e338d2fa64dd2c4 (patch) | |
tree | a4025b4f97cc0023280a378be6963e890d45cd29 | |
parent | 5b81397a451561aaa1ac9289da3c81c9a76d6b2e (diff) |
[master] releasetools: add erofs to non partition spanning fs
Bug: 174816929
Test: sparse image size will be fixed after rebuilding erofs image
Change-Id: I43d7b2c61c57301935981f6f1282afb685cce331
Signed-off-by: Huang Jianan <huangjianan@oppo.com>
-rwxr-xr-x | tools/releasetools/build_image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/build_image.py b/tools/releasetools/build_image.py index ab3f7cea1f..d33472c12c 100755 --- a/tools/releasetools/build_image.py +++ b/tools/releasetools/build_image.py @@ -414,7 +414,7 @@ def BuildImage(in_dir, prop_dict, out_file, target_out=None): fs_type = prop_dict.get("fs_type", "") fs_spans_partition = True - if fs_type.startswith("squash"): + if fs_type.startswith("squash") or fs_type.startswith("erofs"): fs_spans_partition = False # Get a builder for creating an image that's to be verified by Verified Boot, |