Skip to content
Commit e853e96b authored by Gaelle Nassiet's avatar Gaelle Nassiet Committed by Jeremy Compostella
Browse files

always use volume mount option when mounting a partition



From ROS, if enable adb using the vol.up and vol.down buttons, the
/system partition is mounted by the function ensure_path_mounted() but
with hardcoded mount options.  As a consequence, the blocks are
modified and the reboot in MOS is blocked by the dm_verity feature
that detects a corruption.

This patch forces the function ensure_path_mounted() to use the mount
options from the volume structure, that were previously read from the
fstab.

Change-Id: I748d32c14cb821f4aae5bcc430089dab45375515
Signed-off-by: default avatarGaelle Nassiet <gaellex.nassiet@intel.com>
Signed-off-by: default avatarJeremy Compostella <jeremy.compostella@intel.com>
parent 733deb26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment