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

Commit 07ec259a authored by Devin Moore's avatar Devin Moore
Browse files

Update init/README.md to mention bootconfig for androidboot argument

In Android S and later, androidboot.* kernel cmdline parameters are
moved to bootconfig instead the kernel cmdline. This includes the
androidboot.force_normal_boot.

Bug: 219951268
Test: N/A
Change-Id: Id0328ad09a34d654de9936e37a576a8a9f44de6c
parent 7a7c8e46
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1034,7 +1034,7 @@ located at /init within the recovery ramdisk. These devices first switch root to
/first_stage_ramdisk to remove the recovery components from the environment, then proceed the same
/first_stage_ramdisk to remove the recovery components from the environment, then proceed the same
as 2). Note that the decision to boot normally into Android instead of booting
as 2). Note that the decision to boot normally into Android instead of booting
into recovery mode is made if androidboot.force_normal_boot=1 is present in the
into recovery mode is made if androidboot.force_normal_boot=1 is present in the
kernel commandline.
kernel commandline, or in bootconfig with Android S and later.


Once first stage init finishes it execs /system/bin/init with the "selinux_setup" argument. This
Once first stage init finishes it execs /system/bin/init with the "selinux_setup" argument. This
phase is where SELinux is optionally compiled and loaded onto the system. selinux.cpp contains more
phase is where SELinux is optionally compiled and loaded onto the system. selinux.cpp contains more