From c74c204a6e8e58e7ca918e8b716e508878b2f63a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 9 Mar 2015 09:50:09 +0100 Subject: [PATCH] xbps-src: do not sync repodata with -N. --- common/xbps-src/shutils/chroot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 9419702efdb..367836efa8f 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -198,7 +198,9 @@ chroot_handler() { fetch|extract|build|configure|install|install-destdir|pkg|build-pkg|bootstrap-update|chroot) chroot_prepare || return $? chroot_init || return $? - chroot_sync_repos || return $? + if [ -z "$XBPS_SKIP_REMOTEREPOS" ]; then + chroot_sync_repos || return $? + fi ;; esac