summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2020-10-21 15:40:17 -0700
committer Yifan Hong <elsk@google.com> 2020-10-22 10:26:26 -0700
commitdd8dacc131ada0462b43037753beadb0355dacda (patch)
treef743db26ff6aa8e84d477533aa7711c8080a7b95 /java/java_test.go
parent60e0cfb5cbaefa7bdd2b97e1dbbf35c235f5af3d (diff)
Vendor ramdisk modules install to correct location
Install to recovery/root/first_stage_ramdisk if BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT, otherwise vendor-ramdisk. In addition, append /system if not InstallInRoot(). On devices with dedicated recovery partition, BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT is not set, and this installs to the correct place (under $OUT/vendor-ramdisk). On devices without a dedicated recovery partition: - To install a module available before switching root to /first_stage_ramdisk, e.g. a binary under /system/bin, use recovery{_available} and install the recovery variant of the module. - To install a module available after switching root to /first_stage_ramdisk, e.g. a binary under /first_stage_ramdisk/system/bin, use vendor_ramdisk{_available} and install the vendor_ramdisk variant of the module. Test: pass Bug: 156098440 Change-Id: I1af3f8889891a3e58263cda36f0680ce2b480499
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions