From 8a24d94fdce0484889c7e3f7d253fc9b3ee85074 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Tue, 5 Apr 2011 14:24:33 +0200 Subject: [PATCH] chroot before touching files in build root --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index 636549c..f5b7911 100755 --- a/build +++ b/build @@ -2033,7 +2033,7 @@ if test -n "$RPMS" \ echo "... comparing built packages with the former built" mount -n -tproc none $BUILD_ROOT/proc 2> /dev/null if chroot $BUILD_ROOT /usr/lib/build/same-build-result.sh /.build.oldpackages "$TOPDIR/RPMS" "$TOPDIR/SRPMS"; then - > $BUILD_ROOT/.build/.same_result_marker + chroot $BUILD_ROOT touch /.build/.same_result_marker # XXX: dirty build service hack. fix bs_worker. Search for # 'same_result_marker' for traces of a first try to get rid of this if test -n "$REASON" -a -n "$DISTURL"; then -- 2.7.4