File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ CACHED_TARBALL=%(cachedTarball)s
99
99
if [[ " $CACHED_TARBALL " == " " && ! -f $BUILDROOT /log ]]; then
100
100
set -o pipefail
101
101
bash -ex " $WORK_DIR /SPECS/$ARCHITECTURE /$PKGNAME /$PKGVERSION -$PKGREVISION /$PKGNAME .sh" 2>&1 | tee " $BUILDROOT /log"
102
- elif [[ " $CACHED_TARBALL " == " " && $INCREMENTAL_BUILD_HASH != " 0" ]]; then
102
+ elif [[ " $CACHED_TARBALL " == " " && $INCREMENTAL_BUILD_HASH != " 0" && -f " $BUILDDIR /.build_succeeded " ]]; then
103
103
set -o pipefail
104
104
(%(incremental_recipe)s) | tee -a " $BUILDROOT /log"
105
105
elif [[ " $CACHED_TARBALL " == " " ]]; then
@@ -190,3 +190,7 @@ ln -snf $PKGVERSION-$PKGREVISION $ARCHITECTURE/$PKGNAME/latest
190
190
if [[ $DEVEL_PREFIX ]]; then
191
191
ln -snf $PKGVERSION -$PKGREVISION $ARCHITECTURE /$PKGNAME /latest-$DEVEL_PREFIX
192
192
fi
193
+
194
+ # Mark the build as successful with a placeholder. Allows running incremental
195
+ # recipe in case the package is in development mode.
196
+ touch " $BUILDDIR /.build_succeeded"
You can’t perform that action at this time.
0 commit comments