diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2021-04-23 11:16:58 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2021-04-27 15:25:18 +0800 |
commit | 64e92f946f71e2a1211d747ebfd58ae1d187a995 (patch) | |
tree | 35a65350fe3c0967e61ec4c25f392cee1e1c927c /trusty/coverage/coverage_test.cpp | |
parent | 9596d062f569686304a814e8cddf8d3d9de334e6 (diff) |
init: loading debug resources before chroot into first_stage_ramdisk
Currently the debug resources might under /first_stage_ramdisk/*
of the ramdisk, if there is androidboot.force_normal_boot=1 in the
kernel cmdline to request init chroot into /first_stage_ramdisk dir.
To make a generic boot-debug.img works on devices with and without
this chroot, moving the debug resources to the root of the ramdisk.
And copy them for later use before the chroot.
Bug: 186082603
Test: boot a device with boot-debug.img
Test: boot a device with vendor_boot-debug.img
Change-Id: I052a92b2d26c7fdf749991fc55015ff68743efc2
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions