From 26682d2b864f89961aea9b6179b12f9a9b3a9906 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 8 Nov 2014 11:07:40 +0100 Subject: [PATCH] Revert "Revert "xbps-src: return early if masterdir is not ready for chroot ops."" This reverts commit c6cec1010f3f3990a0351782e9967f9b910145e5. --- common/xbps-src/shutils/chroot.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 3e7a427794a..07e3eb6f75f 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -155,6 +155,9 @@ chroot_sync_repos() { chroot_handler() { local action="$1" pkg="$2" rv=0 arg= _envargs= _chargs= + if [ -z "$CHROOT_READY" ]; then + return 0 + fi # Debian uses /run/shm instead... if [ -d /run/shm ]; then mkdir -p ${XBPS_MASTERDIR}/run/shm