diff --git a/iso-profiles/antergos/live-overlay/etc/calamares/modules/basestrap.conf b/iso-profiles/antergos/live-overlay/etc/calamares/modules/basestrap.conf index 6f43bc8..746f3fa 100644 --- a/iso-profiles/antergos/live-overlay/etc/calamares/modules/basestrap.conf +++ b/iso-profiles/antergos/live-overlay/etc/calamares/modules/basestrap.conf @@ -24,9 +24,13 @@ pacman: mode: "0o755" keyrings: - artix + - antergos-next base_init: elogind operations: - install: - base + - antergos-next-keyring + - try_remove: + - artix-release diff --git a/iso-profiles/antergos/live-overlay/usr/lib/calamares/modules/basestrap/main.py b/iso-profiles/antergos/live-overlay/usr/lib/calamares/modules/basestrap/main.py index 9b6975f..26037c6 100644 --- a/iso-profiles/antergos/live-overlay/usr/lib/calamares/modules/basestrap/main.py +++ b/iso-profiles/antergos/live-overlay/usr/lib/calamares/modules/basestrap/main.py @@ -370,7 +370,11 @@ class PMPacman(PackageManager): def remove(self, pkgs): self.reset_progress() - self.run_pacman(["pacman", "-Rs", "--noconfirm"] + pkgs, True) + install_root = libcalamares.globalstorage.value("rootMountPoint") + command = ["pacman"] + command.extend(self.get_optargs(install_root)) + command += ["-Rs", "--noconfirm"] + pkgs + self.run_pacman(command, True) def get_optargs(self, rootdir): cachedir = join(rootdir, "var/cache/pacman/pkg")