[mhwdcfg] mount also var/lib/mhwd

This commit is contained in:
Philip Müller 2019-08-31 05:16:19 -04:00
parent f95aa970e9
commit 1b2af1c635

View File

@ -76,7 +76,7 @@ class MhwdController:
cmd = ["mhwd", "-a", str(name), str(self.driver), str(id).zfill(4)] cmd = ["mhwd", "-a", str(name), str(self.driver), str(id).zfill(4)]
if self.local: if self.local:
self.mount("opt") self.mount("opt")
self.mount("var") self.mount("var/lib/mhwd")
cmd.extend(["--pmconfig", self.repo]) cmd.extend(["--pmconfig", self.repo])
self.mount("etc/resolv.conf") self.mount("etc/resolv.conf")
@ -84,7 +84,7 @@ class MhwdController:
if self.local: if self.local:
self.umount("opt") self.umount("opt")
self.umount("var") self.umount("var/lib/mhwd")
self.umount("etc/resolv.conf") self.umount("etc/resolv.conf")
def run(self): def run(self):