diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2020-06-09 20:15:21 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2020-06-09 20:15:21 +0800 |
commit | 5607f3e1e9f0f8982ecc495345652e88f0fce28c (patch) | |
tree | f01a0b2d07f8786f62c62b23eef6ebddc74ff535 /hikey960 | |
parent | 26f25149aa8ac24d7ac7cbeb908a2f49360de3d5 (diff) | |
download | hikey-5607f3e1e9f0f8982ecc495345652e88f0fce28c.tar.gz |
fstab.hikey960: make it possible for vendor partition to be remounted
as the "adb remount" checks the /vendor/etc/fstab.hikey960
file to find if the partition is a known partition,
so we need to add vendor here to make it work with adb remount.
Otherwise will get following error:
$ adb remount vendor
Unknown partition vendor, skipping
No partitions to remount
remount failed
$
Or it's not remounted to be writable after adb remount command.
Test: adb remount, and vendor partition is writable.
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: I4a6e0ddc31cd62bcf9b7c42083656c7dbaed5009
Diffstat (limited to 'hikey960')
-rw-r--r-- | hikey960/fstab.hikey960 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hikey960/fstab.hikey960 b/hikey960/fstab.hikey960 index 86970040..433d31d5 100644 --- a/hikey960/fstab.hikey960 +++ b/hikey960/fstab.hikey960 @@ -11,3 +11,5 @@ /devices/platform/soc/ff37f000.dwmmc1/mmc_host/mmc* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata /devices/platform/soc/ff200000.hisi_usb/ff100000.dwc3/xhci-hcd.*.auto/usb* auto auto defaults voldmanaged=usbdisk:auto,encryptable=userdata /devices/platform/soc/f4000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/nvme/nvme* auto auto defaults voldmanaged=nvmedisk:auto,encryptable=userdata +/dev/block/by-name/system /system ext4 ro,errors=panic wait,first_stage_mount +/dev/block/by-name/vendor /vendor ext4 ro,errors=panic wait,first_stage_mount |