11 arch=$3 # limit to 1 for now
17 #? TODO -- should be a parameter as well?
19 testdir=$PWD/$pkg-$arch.test-bdepends
24 echo "I: Building the new package for $pkg"
26 mkdir -p $debdir $srcdir $bindir
27 $CMD nd_build $family $dist $arch $dscfile --buildresult=$debdir
30 echo "I: Fetching all bdepends for $pkg in $family $dist under $arch"
31 # need first to provide the necessary scripts out there
32 cp -p `which nd_fetch_bdepends` $bindir
33 $CMD nd_execute $family $dist $arch --bindmounts $testdir $bindir/nd_fetch_bdepends $pkg $srcdir
35 # 3 -- go through all bdepends and build them with old (from repo) and new (built) version