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

Commit 68382198 authored by Cole Faust's avatar Cole Faust
Browse files

Remove base_dir property on ramdisk filesystems

They shouldn't have the base directory in order to place init and the
system/ folder in the root of the ramdisk.

Bug: 379190521
Test: diff'd make and soong ramdisks, they're identical
Change-Id: I726c939c0f7d91a586e428affd1c5345dba4f64a
parent baad0782
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -598,7 +598,9 @@ func generateFsProps(ctx android.EarlyModuleContext, partitionType string) (*fil

	fsProps.Partition_name = proptools.StringPtr(partitionType)

	if !strings.Contains(partitionType, "ramdisk") {
		fsProps.Base_dir = proptools.StringPtr(partitionType)
	}

	fsProps.Is_auto_generated = proptools.BoolPtr(true)