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:
Francisco Gil 2023-06-07 13:52:15 +02:00
parent 33bad0022e
commit 02f7753918
1 changed files with 1 additions and 1 deletions

View File

@ -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