From f95aa970e98c42a13e454698cd46e0d2c5a59874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Sat, 31 Aug 2019 05:14:22 -0400 Subject: [PATCH] [mhwdcfg] mount also var --- src/modules/mhwdcfg/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/mhwdcfg/main.py b/src/modules/mhwdcfg/main.py index 7ae532dd1..0e829e5d3 100644 --- a/src/modules/mhwdcfg/main.py +++ b/src/modules/mhwdcfg/main.py @@ -70,12 +70,13 @@ class MhwdController: call(["umount", "-l", join(self.root, mp)]) def mount(self, mp): - call(["mount", "-Br", "/" + mp, join(self.root, mp)]) + call(["mount", "-B", "/" + mp, join(self.root, mp)]) def configure(self, name, id): cmd = ["mhwd", "-a", str(name), str(self.driver), str(id).zfill(4)] if self.local: self.mount("opt") + self.mount("var") cmd.extend(["--pmconfig", self.repo]) self.mount("etc/resolv.conf") @@ -83,6 +84,7 @@ class MhwdController: if self.local: self.umount("opt") + self.umount("var") self.umount("etc/resolv.conf") def run(self):