[mhwdcfg] use 'opt/mhwd' folder

This commit is contained in:
Philip Müller 2019-08-31 05:19:57 -04:00
parent 1b2af1c635
commit 91b32f9c5a
2 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ class MhwdController:
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("opt/mhwd")
self.mount("var/lib/mhwd")
cmd.extend(["--pmconfig", self.repo])
@ -83,7 +83,7 @@ class MhwdController:
target_env_call(cmd)
if self.local:
self.umount("opt")
self.umount("opt/mhwd")
self.umount("var/lib/mhwd")
self.umount("etc/resolv.conf")

View File

@ -16,4 +16,4 @@ driver: free
local: true
repo: /opt/pacman-mhwd.conf
repo: /opt/mhwd/pacman-mhwd.conf