[mhwdcfg] fix mounting mhwd/db blacklists

This commit is contained in:
Philip Müller 2019-09-02 18:15:25 -04:00
parent a2a47826d4
commit 71d26e85e1

View File

@ -83,7 +83,7 @@ class MhwdController:
if self.local:
self.mkdir("opt/mhwd")
self.mount("opt/mhwd")
self.mount("var/lib/mhwd")
self.mount("var/lib/mhwd/db")
cmd.extend(["--pmconfig", self.repo])
self.mount("etc/resolv.conf")
@ -92,7 +92,7 @@ class MhwdController:
if self.local:
self.umount("opt/mhwd")
self.rmdir("opt/mhwd")
self.umount("var/lib/mhwd")
self.umount("var/lib/mhwd/db")
self.umount("etc/resolv.conf")
def run(self):