Enable partitions on loop devices.

This is used by the new "virtual disk" feature used by vold to help
debug and test storage code on devices without physical media.

Bug: 140399964
Test: builds, boots

Change-Id: I93c8199bb5753ab189b5bba8b269d08c9d8aa8ff
Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
Randall Huang
2019-09-09 23:29:47 +08:00
parent 1f20d5eff0
commit ef7ed7af87

View File

@@ -45,6 +45,7 @@ BOARD_KERNEL_CMDLINE += usbcore.autosuspend=7
BOARD_KERNEL_CMDLINE += androidboot.usbcontroller=a600000.dwc3 swiotlb=2048
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive # STOPSHIP b/113232677
BOARD_KERNEL_CMDLINE += androidboot.boot_devices=soc/1d84000.ufshc
BOARD_KERNEL_CMDLINE += loop.max_part=7
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 4096