[postcfg] adopt to 'opt/mhwd' folder
This commit is contained in:
parent
91b32f9c5a
commit
4e5f5eaf48
@ -116,12 +116,12 @@ class ConfigController:
|
|||||||
if not office_package:
|
if not office_package:
|
||||||
libcalamares.utils.warning("no office suite selected, {!s}".format(office_package))
|
libcalamares.utils.warning("no office suite selected, {!s}".format(office_package))
|
||||||
else:
|
else:
|
||||||
# For PoC we added the Office Packages to mhwd-live overlay in 18.1-rc7
|
# For PoC we added the Office Packages to mhwd-live overlay in 18.1.0
|
||||||
cmd = ["pacman", "-S", office_package, "--noconfirm", "--config", "/opt/pacman-mhwd.conf" ]
|
cmd = ["pacman", "-S", office_package, "--noconfirm", "--config", "/opt/mhwd/pacman-mhwd.conf" ]
|
||||||
self.mount("opt")
|
self.mount("opt/mhwd")
|
||||||
self.mount("etc/resolv.conf")
|
self.mount("etc/resolv.conf")
|
||||||
target_env_call(cmd)
|
target_env_call(cmd)
|
||||||
self.umount("opt")
|
self.umount("opt/mhwd")
|
||||||
self.umount("etc/resolv.conf")
|
self.umount("etc/resolv.conf")
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user