qualcomm.sh: remount filesystem as 'rw' to create symlinks

Also remount the root filesystem as 'rw' when the symlinks need to be
updated.

https://jira.digi.com/browse/DEL-6760

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
This commit is contained in:
Gonzalo Ruiz 2019-12-03 15:48:24 +01:00
parent b242ee1a93
commit 0692252b88
1 changed files with 2 additions and 0 deletions

View File

@ -146,11 +146,13 @@ esac
if [ -n "${BDATA_LINK}" ] &&
([ ! -f "${BDATA_LINK}" ] ||
! cmp -s "${BDATA_LINK}" "${BDATA_SOURCE}"); then
set_filesystem_rw_access ${FIRMWARE_DIR}
ln -sf "${BDATA_SOURCE}" "${BDATA_LINK}"
fi
if [ -n "${UTFBDATA_LINK}" ] &&
([ ! -f "${UTFBDATA_LINK}" ] ||
! cmp -s "${UTFBDATA_LINK}" "${BDATA_SOURCE}"); then
set_filesystem_rw_access ${FIRMWARE_DIR}
ln -sf "${BDATA_SOURCE}" "${UTFBDATA_LINK}"
fi
)