[mhwdcfg] clean up imports; use target_env_call()

This commit is contained in:
Philip 2016-09-13 08:08:57 +02:00
parent 5610e274ba
commit cc4ab32350
2 changed files with 4 additions and 3 deletions

View File

@ -20,9 +20,9 @@
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 subprocess import check_call, call
from subprocess import call
class MhwdController:
def __init__(self):
@ -74,7 +74,7 @@ class MhwdController:
cmd.extend(["--pmconfig", self.repo])
self.mount("etc/resolv.conf")
check_target_env_call(cmd)
target_env_call(cmd)
if self.local:
self.umount("opt")

View File

@ -1,6 +1,7 @@
---
bus:
- pci
# - usb
identifier:
net: