mhwdcfg:clean up imports; use target_env_call()
This commit is contained in:
commit
c70e91fa9a
@ -20,9 +20,9 @@
|
|||||||
|
|
||||||
import libcalamares
|
import libcalamares
|
||||||
|
|
||||||
from libcalamares.utils import check_target_env_call, target_env_call, debug
|
from libcalamares.utils import target_env_call, debug
|
||||||
from os.path import join
|
from os.path import join
|
||||||
from subprocess import check_call, call
|
from subprocess import call
|
||||||
|
|
||||||
class MhwdController:
|
class MhwdController:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -74,7 +74,7 @@ class MhwdController:
|
|||||||
cmd.extend(["--pmconfig", self.repo])
|
cmd.extend(["--pmconfig", self.repo])
|
||||||
|
|
||||||
self.mount("etc/resolv.conf")
|
self.mount("etc/resolv.conf")
|
||||||
check_target_env_call(cmd)
|
target_env_call(cmd)
|
||||||
|
|
||||||
if self.local:
|
if self.local:
|
||||||
self.umount("opt")
|
self.umount("opt")
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
bus:
|
bus:
|
||||||
- pci
|
- pci
|
||||||
|
# - usb
|
||||||
|
|
||||||
identifier:
|
identifier:
|
||||||
net:
|
net:
|
||||||
|
Loading…
Reference in New Issue
Block a user