From 3caa64b9817c6f61b809ec2d785d90fd585306d7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Apr 2015 11:01:59 +0200 Subject: [PATCH] xbps-src: create XBPS_WRAPPERDIR in the upperdir with overlayfs. --- common/xbps-src/shutils/common.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh index 9753f83069e..abde2c2c413 100644 --- a/common/xbps-src/shutils/common.sh +++ b/common/xbps-src/shutils/common.sh @@ -447,7 +447,10 @@ setup_pkg() { export XBPS_STATEDIR="${XBPS_BUILDDIR}/.xbps-${sourcepkg}" export XBPS_WRAPPERDIR="${XBPS_STATEDIR}/wrappers" - mkdir -p $XBPS_WRAPPERDIR + + if [ -z "$CHROOT_READY" -o -n "$IN_CHROOT" ]; then + mkdir -p $XBPS_WRAPPERDIR + fi source_file $XBPS_COMMONDIR/environment/build-style/${build_style}.sh }