]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_build_testrdepends
Also for stats report which repo and which job number use our setup
[neurodebian.git] / tools / nd_build_testrdepends
index f24c793556850bc01bb63002dec708854f732be2..28a820d88d4ebd77ee45828db68fa341043fbc8d 100755 (executable)
@@ -28,9 +28,12 @@ srcdir=$testdir/srcs
 oldbuildsdir=$srcdir/old
 newbuildsdir=$srcdir/new
 
-echo "I: Building the new package for $pkg"
+echo "I: Updating target chroot $family $dist"
+$CMD nd_updatedist $family $dist $arch
 
 mkdir -p $debdir $srcdir $bindir $secdir
+
+echo "I: Building the new package for $pkg"
 $CMD nd_build $family $dist $arch $dscfile --buildresult=$debdir
 
 echo "I: Initiating the repository"
@@ -77,7 +80,7 @@ cd - > /dev/null
 echo "I: Fetching all bdepends for $pkgs in $family $dist under $arch"
 # need first to provide the necessary scripts out there
 cp -p $(dirname $0)/nd_fetch_bdepends $bindir
-$CMD nd_execute $family $dist $arch --bindmounts $testdir $bindir/nd_fetch_bdepends $srcdir $pkgs
+$CMD nd_execute $family $dist $arch --bindmounts $testdir $bindir/nd_fetch_bdepends $dist $srcdir $pkgs
 
 echo "I: preparing the hook"
 cat << EOF >| $bindir/D00add_custom_repo