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
// recovery variant.
if ctx.DeviceConfig().BoardMoveRecoveryResourcesToVendorBoot() {
partition = "vendor-ramdisk/first_stage_ramdisk"
partition = "vendor_ramdisk/first_stage_ramdisk"
} else {
partition = "vendor-ramdisk"
partition = "vendor_ramdisk"
}
if !ctx.InstallInRoot() {
partition += "/system"

View File

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