summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-09 21:54:25 +0900
committerMichele Calgaro <[email protected]>2023-12-10 00:48:25 +0900
commitdc9cd22836cbe3fb541b2c46107a48c6bf76b84f (patch)
tree0ad8a26a43792951e7e85c86df80db054e7e3897
parent39e3f15b56a1fee2d148de4bcfa816aac707caca (diff)
downloadtde-guidance-dc9cd22836cbe3fb541b2c46107a48c6bf76b84f.tar.gz
tde-guidance-dc9cd22836cbe3fb541b2c46107a48c6bf76b84f.zip
Fix functionality of mountconfig module
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 933f385f5dd09a2f0d167f015cec17d314437ec2)
-rwxr-xr-xmountconfig/MicroHAL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mountconfig/MicroHAL.py b/mountconfig/MicroHAL.py
index 07a3280..a7b02ae 100755
--- a/mountconfig/MicroHAL.py
+++ b/mountconfig/MicroHAL.py
@@ -817,7 +817,7 @@ class MicroHAL(object):
if proc not in self.getSupportedFileSystems():
# The filesystem is not supported by the running kernel,
# but it might be built as module, so we try to load that.
- retval, msg = SimpleCommandRunner().run([b"/sbin/modprobe",module])
+ retval, msg = SimpleCommandRunner().run([b"/sbin/modprobe",module.encode('utf-8')])
if retval > 0:
print(msg)
print("Couldn't load driver " + module + " for filesystem " + fs)