summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/chroot-tools/librechroot3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index b4ea7e6..f57c2cc 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -512,7 +512,8 @@ EOF
# Create build chroot
# NOTE: ARM chroots require 'fakeroot-tcp' (BR #2775)
local fakeroot_pkg=fakeroot$( [[ "${target_arch}" == 'armv7h' ]] && echo '-tcp' )
- local chroot_pkgs=$( pacman -Sgq base-devel | sed "s|fakeroot|${fakeroot_pkg}|" )
+ local chroot_pkgs=$( pacman --config "${tmp_pacmanconf}" -Sgq base-devel | \
+ sed "s|fakeroot|${fakeroot_pkg}|" )
msg "Creating 'root' copy for chroot [%s]" "$CHROOT"
mkarchroot "$rootdir" ${chroot_pkgs} </dev/null