Revert "config: BoardConfigReservedSize: Prevent overlayfs on remount"

Reserving 8MB does not guarantee that free blocks will be >= 1%, so not
only this doesn't work properly, but also breaks builds for some
devices.

This reverts commit 3940fb4240.

Test: breakfast kebab && WITH_GMS=true m
Change-Id: I330570dc6fc9efca5629358a0b149f131d36ba18
This commit is contained in:
LuK1337 2024-04-27 13:35:49 +02:00
parent bb1a5edc7b
commit a27417bb81
No known key found for this signature in database

View file

@ -9,21 +9,11 @@ ifneq ($(WITH_GMS),true)
BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT ?= -1
ifeq ($(BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE),true)
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 1188036608
else # BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE
else
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 1957691392
endif
BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT ?= -1
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE ?= 94371840
BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT ?= -1
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE ?= 94371840
else # WITH_GMS
ifneq ($(TARGET_BUILD_VARIANT),user)
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 8388609
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE ?= 8388609
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE ?= 8388609
endif
endif
ifneq ($(TARGET_BUILD_VARIANT),user)
BOARD_VENDORIMAGE_PARTITION_RESERVED_SIZE ?= 8388609
endif