nx: use tmpfs for metadata partition
This commit is contained in:
1 parent
2d47756349
commit
b02ec7c2a2
2 files changed
+2
No files matched your search
@@ -28,6 +28,7 @@ TARGET_COPY_OUT_SYSTEM_EXT := system_ext
|
||||
TARGET_COPY_OUT_ODM := odm
|
||||
TARGET_COPY_OUT_PRODUCT := product
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
BOARD_USES_METADATA_PARTITION := true
|
||||
|
||||
-include vendor/lineage/config/BoardConfigReservedSize.mk
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ on init
|
||||
on fs
|
||||
mount_all /vendor/etc/fstab.nx
|
||||
swapon_all /vendor/etc/fstab.nx
|
||||
mount tmpfs tmpfs /metadata size=10m
|
||||
|
||||
on post-fs-data
|
||||
chmod 0664 /sys/devices/57000000.gpu/devfreq/57000000.gpu/max_freq
|
||||
|
||||
Reference in new issue
Block a user