udev: dualboot: include linux_a/b to partitions to be mounted as ro
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
parent
36804ef13d
commit
04c153fab9
|
|
@ -78,7 +78,7 @@ else
|
|||
# Busybox mount. Clear default params
|
||||
MOUNT_PARAMS=""
|
||||
# Mount 'linux' partition as read-only
|
||||
if [ "${PARTNAME}" = "linux" ]; then
|
||||
if [ "${PARTNAME}" = "linux" ] || [ "${PARTNAME}" = "linux_a" ] || [ "${PARTNAME}" = "linux_b" ]; then
|
||||
MOUNT_PARAMS="${MOUNT_PARAMS} -r"
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue