peregrine: add extra padding for encryption
Provide 16K for footer region of data partition /data should have 16K data for the encryption footer. In "fstab.qcom" we specify this by adding "encryptable=footer" option for the /data parition. However after factory reset these paritions will be wiped out and mounted using the parition tables mentioned in "recovery.fstab". In this case the /data should again leave the 16K for the encryption footer. So "length=-16384" needs to be added for the /data parition for the encryption to work after factory reset is done. Similarly BoardConfig is changed for userdata partition by reducing it by 16kb. Change-ID I188ee4ea959bb8eb791b9387fc6adf299ffdc498 Change-Id: I0d58b350e96f1c57190759e2cd8c71aec99efdf2
This commit is contained in:
parent
379e34d1b5
commit
3332fcbd60
|
@ -31,7 +31,7 @@ TARGET_KERNEL_CONFIG := peregrine_defconfig
|
|||
BOARD_BOOTIMAGE_PARTITION_SIZE := 10485760
|
||||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 10485760
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1157627904
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 5930614784
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 5930598400
|
||||
|
||||
# Recovery
|
||||
TARGET_RECOVERY_FSTAB := $(LOCAL_PATH)/rootdir/etc/fstab.qcom
|
||||
|
|
Loading…
Reference in New Issue