From 930d79b066e233cbf1d3f3c7b001f0bec0b3176f Mon Sep 17 00:00:00 2001 From: "andrii.davydenko" Date: Wed, 16 Feb 2022 14:12:11 +0200 Subject: [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 --- recipes-core/multitech/overlayfs-init-ubi/overlayfs.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3