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

Commit c867f1b6 authored by SzuWei Lin's avatar SzuWei Lin
Browse files

Add make_f2fs into GSI

The userdata partition of some devices is formatted in f2fs,
and could be formatted in runtime. This is a configurable
feature of AOSP, so GSI enables the setting:

    TARGET_USERIMAGES_USE_F2FS

to support it.

Bug: 67916560
Bug: 66925248
Test: build pass and check the make_f2fs in the image
Test: boot a pixel device with GSI to home screen
Change-Id: Id350c4e07a9c0dc0f0a547b3146626053c88b8ab
parent 5dbc0cab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -30,7 +30,10 @@ TARGET_NO_BOOTLOADER := true
TARGET_NO_KERNEL := true

# system.img is always ext4 with sparse option
# GSI also includes make_f2fs to support userdata parition in f2fs
# for some devices
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := false
TARGET_USES_MKE2FS := true