summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-25 18:52:34 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-25 18:56:46 +0200
commitbbf0f98e5732d2d8d716e711242a1769cf5d5fa2 (patch)
tree99abaa2d0302d1dc123e04353f7bc8cbd83a85c6
parentff8a447f6ebf72cd5c05ac0d3bc9f6818ea73d05 (diff)
downloaddevice_samsung_midas_common-bbf0f98e5732d2d8d716e711242a1769cf5d5fa2.tar.gz
device_samsung_midas_common-bbf0f98e5732d2d8d716e711242a1769cf5d5fa2.tar.bz2
device_samsung_midas_common-bbf0f98e5732d2d8d716e711242a1769cf5d5fa2.zip
Recovery ramdisk: use XZ
We need the shrink the recovery ramdisk as much as possible to fit within the RECOVERY partition whose size is 8MiB as we don't have (yet) any bootloader that could take care of loading the kernel from the BOOT bootimage and the initramfs from the RECOVERY bootimage to make booting to the recovery completely transparent to the users. See the commit adding BOARD_RAMDISK_USE_XZ in build/make for more details on the possible tradeoffs being made here. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--BoardConfigCommon.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 0ebe27a..a7e971b 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -96,6 +96,7 @@ TARGET_KERNEL_SOURCE := kernel/replicant/linux
######################
# Software: Recovery #
######################
+BOARD_RAMDISK_USE_XZ := true
BOARD_USES_FULL_RECOVERY_IMAGE := false
BOARD_USES_RECOVERY_AS_BOOT := false