From 48548f19836b8681a7764994a601967dfd65c9ba Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 2 Apr 2015 09:09:12 +0200 Subject: [PATCH] xbps-src/build.sh: sleep 1 second while running do-pkg.sh. This will ensure that binpkg files do not have recorded the same mtime, which is required in xbps to detect obsolete files properly. --- common/xbps-src/libexec/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/xbps-src/libexec/build.sh b/common/xbps-src/libexec/build.sh index 137418aabe9..2a195071d09 100755 --- a/common/xbps-src/libexec/build.sh +++ b/common/xbps-src/libexec/build.sh @@ -75,6 +75,7 @@ done # If install went ok generate the binpkgs. for subpkg in ${subpackages} ${sourcepkg}; do $XBPS_LIBEXECDIR/xbps-src-dopkg.sh $subpkg "$XBPS_REPOSITORY" "$XBPS_CROSS_BUILD" || exit 1 + sleep 1 done # pkg cleanup