Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16b2818f authored by Spandan Das's avatar Spandan Das
Browse files

Switch the FS type of generic_system_image to erofs

The kati built system image used by cuttlefish uses erofs with
compression. Since generic_system_image (soong-built) is now used in
aosp_cf_* products, this CL switches the fs type to `erofs` from `ext4`
(the default).

system.img size
- before 1.1 GB
- after 759 MB

Test: presubmits
Change-Id: Id5b0b8901aa90788cce975f3393d37e6c4844d47
parent c10db178
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -318,6 +318,11 @@ android_system_image {
        ],
        libs: [":framework-res{.export-package.apk}"],
    },
    type: "erofs",
    erofs: {
        compressor: "lz4hc,9",
        compress_hints: "erofs_compress_hints.txt",
    },
    build_logtags: true,
    gen_aconfig_flags_pb: true,

+1 −0
Original line number Diff line number Diff line
0 .*\.apex$
 No newline at end of file