Signed-off-by: Alfredo Deza <adeza@redhat.com>
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}/${SHA1}/${distro}/${DIST}/${ARCH}"
-chacra_repo_endpoint="ceph/${chacra_ref}/${SHA1}/${distro}/${DIST}"
+chacra_endpoint="ceph/${chacra_ref}/${SHA1}/${distro}/${DIST}/${ARCH}/flavors/${FLAVOR}"
+chacra_repo_endpoint="ceph/${chacra_ref}/${SHA1}/${distro}/${DIST}/flavors/${FLAVOR}"
DEB_ARCH=`dpkg-architecture | grep DEB_BUILD_ARCH\= | cut -d '=' -f 2`
chacra_check_url="${chacra_endpoint}/librados2_${bpvers}_${DEB_ARCH}.deb"