Support androidboot.fstab_suffix cmdline flag

Fix #3187
This commit is contained in:
topjohnwu
2020-10-08 03:04:12 -07:00
parent d4d837a562
commit 0499588107
3 changed files with 12 additions and 6 deletions

View File

@@ -155,6 +155,8 @@ void load_kernel_info(cmdline *cmd) {
strcpy(cmd->hardware, value);
} else if (key == "androidboot.hardware.platform") {
strcpy(cmd->hardware_plat, value);
} else if (key == "androidboot.fstab_suffix") {
strcpy(cmd->fstab_suffix, value);
}
});