[postcfg] adopt to 'opt/mhwd' folder

This commit is contained in:
Philip Müller 2019-08-31 05:21:11 -04:00
parent 91b32f9c5a
commit 4e5f5eaf48

View File

@ -116,12 +116,12 @@ class ConfigController:
if not office_package:
libcalamares.utils.warning("no office suite selected, {!s}".format(office_package))
else:
# For PoC we added the Office Packages to mhwd-live overlay in 18.1-rc7
cmd = ["pacman", "-S", office_package, "--noconfirm", "--config", "/opt/pacman-mhwd.conf" ]
self.mount("opt")
# For PoC we added the Office Packages to mhwd-live overlay in 18.1.0
cmd = ["pacman", "-S", office_package, "--noconfirm", "--config", "/opt/mhwd/pacman-mhwd.conf" ]
self.mount("opt/mhwd")
self.mount("etc/resolv.conf")
target_env_call(cmd)
self.umount("opt")
self.umount("opt/mhwd")
self.umount("etc/resolv.conf")
return None