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

Commit 78b55b22 authored by Yifan Hong's avatar Yifan Hong
Browse files

Mount generic ramdisk as readwrite.

With this change, first stage init can prepare and move
resources to accomodate devices with and without a dedicated
recovery partition.

Test: build with and without recovery partition, and manually inspect
Bug: 171512004

Change-Id: I7bd61f74c16ee77f3f05dc208e0f3cfe81e302b0
parent 78860164
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -711,6 +711,10 @@ else
  BUILT_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
endif

# kernel cmdline for GKI
GENERIC_KERNEL_CMDLINE := rw
.KATI_READONLY := GENERIC_KERNEL_CMDLINE

# $1: boot image target
# returns the kernel used to make the bootimage
define bootimage-to-kernel