generator.generate_pacman_conf_body(): add in_chroot=False param to use config.get_path('pacman') if necessary

This commit is contained in:
InsanePrawn 2022-08-23 21:41:41 +02:00
parent 5a794ba3dd
commit 3952892029
5 changed files with 10 additions and 5 deletions

View file

@ -324,7 +324,11 @@ def install_rootfs(
user=user,
)
files = {
'etc/pacman.conf': get_base_distro(arch).get_pacman_conf(check_space=True, extra_repos=get_kupfer_https(arch).repos),
'etc/pacman.conf': get_base_distro(arch).get_pacman_conf(
check_space=True,
extra_repos=get_kupfer_https(arch).repos,
in_chroot=True,
),
'etc/sudoers.d/wheel': "# allow members of group wheel to execute any command\n%wheel ALL=(ALL:ALL) ALL\n",
'etc/hostname': profile['hostname'],
}