generator.generate_pacman_conf_body(): add in_chroot=False param to use config.get_path('pacman') if necessary
This commit is contained in:
parent
5a794ba3dd
commit
3952892029
5 changed files with 10 additions and 5 deletions
|
@ -300,7 +300,7 @@ class Chroot(AbstractChroot):
|
|||
f'file://{config.get_path("packages")}',
|
||||
1,
|
||||
)
|
||||
conf_text = get_base_distro(self.arch).get_pacman_conf(repos, check_space=check_space)
|
||||
conf_text = get_base_distro(self.arch).get_pacman_conf(repos, check_space=check_space, in_chroot=in_chroot)
|
||||
write_file(absolute_path, conf_text, user=user, group=group)
|
||||
|
||||
def create_user(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue