Rename vendor-ramdisk to vendor_ramdisk

Rename to get consistent ramdisk directory naming in
out/target/product/<name>:
  debug_ramdisk
  ramdisk
  vendor_debug_ramdisk
  vendor_ramdisk

Test: build and inspect out/target/product/<name>
Change-Id: Ib86e6509bd910e8c95bcb6e3f7bb639ebbfe3758
This commit is contained in:
Petri Gynther 2021-03-02 23:44:02 -08:00
parent 3bed960399
commit ac22956dcb
2 changed files with 3 additions and 3 deletions

View File

@ -1662,9 +1662,9 @@ func modulePartition(ctx ModuleInstallPathContext, os OsType) string {
// on a device without a dedicated recovery partition, install the // on a device without a dedicated recovery partition, install the
// recovery variant. // recovery variant.
if ctx.DeviceConfig().BoardMoveRecoveryResourcesToVendorBoot() { if ctx.DeviceConfig().BoardMoveRecoveryResourcesToVendorBoot() {
partition = "vendor-ramdisk/first_stage_ramdisk" partition = "vendor_ramdisk/first_stage_ramdisk"
} else { } else {
partition = "vendor-ramdisk" partition = "vendor_ramdisk"
} }
if !ctx.InstallInRoot() { if !ctx.InstallInRoot() {
partition += "/system" partition += "/system"

View File

@ -124,7 +124,7 @@ func installClean(ctx Context, config Config) {
productOut("obj/PACKAGING"), productOut("obj/PACKAGING"),
productOut("ramdisk"), productOut("ramdisk"),
productOut("debug_ramdisk"), productOut("debug_ramdisk"),
productOut("vendor-ramdisk"), productOut("vendor_ramdisk"),
productOut("vendor_debug_ramdisk"), productOut("vendor_debug_ramdisk"),
productOut("test_harness_ramdisk"), productOut("test_harness_ramdisk"),
productOut("recovery"), productOut("recovery"),