X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f4181d5241fed56bda4c552bced7f1afabd24e0e..d94095c1457273a49907d00d06a7d802ba979509:/build/run-build-packages-one-target.sh diff --git a/build/run-build-packages-one-target.sh b/build/run-build-packages-one-target.sh index f476a9691c..f8816dbe48 100755 --- a/build/run-build-packages-one-target.sh +++ b/build/run-build-packages-one-target.sh @@ -143,6 +143,22 @@ if [[ -n "$test_packages" ]]; then fi if [[ -n "$(find $WORKSPACE/packages/$TARGET -name '*.deb')" ]] ; then + set +e + /usr/bin/which dpkg-scanpackages >/dev/null + if [[ "$?" != "0" ]]; then + echo >&2 + echo >&2 "Error: please install dpkg-dev. E.g. sudo apt-get install dpkg-dev" + echo >&2 + exit 1 + fi + /usr/bin/which apt-ftparchive >/dev/null + if [[ "$?" != "0" ]]; then + echo >&2 + echo >&2 "Error: please install apt-utils. E.g. sudo apt-get install apt-utils" + echo >&2 + exit 1 + fi + set -e (cd $WORKSPACE/packages/$TARGET dpkg-scanpackages . 2> >(grep -v 'warning' 1>&2) | tee Packages | gzip -c > Packages.gz apt-ftparchive -o APT::FTPArchive::Release::Origin=Arvados release . > Release @@ -192,6 +208,8 @@ if test -z "$packages" ; then keepstore keep-web libarvados-perl + libpam-arvados + libpam-arvados-go python-arvados-fuse python-arvados-python-client python-arvados-cwl-runner"