Skip to content
Snippets Groups Projects
Commit 91b32f9c authored by Philip Müller's avatar Philip Müller
Browse files

[mhwdcfg] use 'opt/mhwd' folder

parent 1b2af1c6
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ class MhwdController: ...@@ -75,7 +75,7 @@ class MhwdController:
def configure(self, name, id): def configure(self, name, id):
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/mhwd")
self.mount("var/lib/mhwd") self.mount("var/lib/mhwd")
cmd.extend(["--pmconfig", self.repo]) cmd.extend(["--pmconfig", self.repo])
...@@ -83,7 +83,7 @@ class MhwdController: ...@@ -83,7 +83,7 @@ class MhwdController:
target_env_call(cmd) target_env_call(cmd)
if self.local: if self.local:
self.umount("opt") self.umount("opt/mhwd")
self.umount("var/lib/mhwd") self.umount("var/lib/mhwd")
self.umount("etc/resolv.conf") self.umount("etc/resolv.conf")
......
...@@ -16,4 +16,4 @@ driver: free ...@@ -16,4 +16,4 @@ driver: free
local: true local: true
repo: /opt/pacman-mhwd.conf repo: /opt/mhwd/pacman-mhwd.conf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment