summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandrii.davydenko <andrii.davydenko@globallogic.com>2022-02-16 14:12:11 +0200
committerandrii.davydenko <andrii.davydenko@globallogic.com>2022-02-16 14:12:11 +0200
commit930d79b066e233cbf1d3f3c7b001f0bec0b3176f (patch)
tree21726257f113bc4a27505c9af151f6409149ed48
parent82f2c8cb89196dd4376278581f00d85fd71945f3 (diff)
downloadmeta-mlinux-930d79b066e233cbf1d3f3c7b001f0bec0b3176f.tar.gz
meta-mlinux-930d79b066e233cbf1d3f3c7b001f0bec0b3176f.tar.bz2
meta-mlinux-930d79b066e233cbf1d3f3c7b001f0bec0b3176f.zip
[GP-1480] mPower R.6.0.x: MTCAP3 - Installed packages do not display on the "Package Management" page
Add exception for user-data directory Signed-off-by: andrii.davydenko <andrii.davydenko@globallogic.com>
-rw-r--r--recipes-core/multitech/overlayfs-init-ubi/overlayfs.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/multitech/overlayfs-init-ubi/overlayfs.init b/recipes-core/multitech/overlayfs-init-ubi/overlayfs.init
index c23a1ce..f2faf72 100644
--- a/recipes-core/multitech/overlayfs-init-ubi/overlayfs.init
+++ b/recipes-core/multitech/overlayfs-init-ubi/overlayfs.init
@@ -122,7 +122,7 @@ do_rw_mount() {
umount -l /var/volatile >/dev/null 2>&1
cgroupmnts=$(sed -r -e 's/[^[:space:]]*[[:space:]]//' -e 's/[[:space:]]+.*//g' /proc/mounts | grep '^/orig')
for mp in ${cgroupmnts} ; do
- if [[ $mp != /orig ]] && [[ -d $mp ]] ; then
+ if [[ $mp != /orig ]] && [[ $mp != /orig/mnt* ]] && [[ -d $mp ]] ; then
umount -l $mp >/dev/null 2>&1
fi
done