[PATCH] framework: fix umount ahead of mount
Lijuan Tu
lijuan.tu at intel.com
Thu Dec 22 07:47:00 CET 2022
umount will impact other applications, it is not a good idea,
so remove it.
Signed-off-by: Lijuan Tu <lijuan.tu at intel.com>
---
framework/crb.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/framework/crb.py b/framework/crb.py
index bd16004a..3c93fdc4 100644
--- a/framework/crb.py
+++ b/framework/crb.py
@@ -205,7 +205,6 @@ class Crb(object):
"""
Mount hugepage file system on CRB.
"""
- self.send_expect("umount `awk '/hugetlbfs/ { print $2 }' /proc/mounts`", "# ")
out = self.send_expect("awk '/hugetlbfs/ { print $2 }' /proc/mounts", "# ")
# if no hugetlbfs mounted, then above command will return " [PEXPECT]#"
# so strip the unexptectd " [PEXPECT]#", to proceed to mount the hugetlbfs
--
2.25.1
More information about the dts
mailing list