From 0c0ba0a7a800904b99b51b2e1c850275e9653417 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 20 Apr 2016 14:01:39 -0500 Subject: [PATCH] ceph-build: fix the chacra_check_url for debian builds This corrects the name of librados2 so that we can do a proper check against chacra before reuploading a binary. Signed-off-by: Andrew Schoen --- ceph-build/build/build_deb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ceph-build/build/build_deb b/ceph-build/build/build_deb index 17932c9c..49acb189 100644 --- a/ceph-build/build/build_deb +++ b/ceph-build/build/build_deb @@ -59,7 +59,8 @@ bpvers=`gen_debian_version $debian_version $DIST` # look for a specific package to tell if we can avoid the build chacra_endpoint="ceph/${chacra_ref}/${distro}/${DIST}/${ARCH}" -chacra_check_url="${chacra_endpoint}/librados2_${vers}-${bpvers}_${ARCH}.deb" +DEB_ARCH=`dpkg-architecture | grep DEB_BUILD_ARCH\= | cut -d '=' -f 2` +chacra_check_url="${chacra_endpoint}/librados2_${bpvers}_${DEB_ARCH}.deb" if [ "$THROWAWAY" = false ] ; then # this exists in scripts/build_utils.sh -- 2.39.5