]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
tcmu-runner: added missing distro release 846/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 28 Aug 2017 23:15:14 +0000 (19:15 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 28 Aug 2017 23:15:14 +0000 (19:15 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
tcmu-runner/build/build_rpm

index 33c07af034d67aaa6ef391ae0812989a1ecfeaa9..7a052e4db108b9c0befa8235217cc0a625c803b4 100644 (file)
@@ -9,6 +9,8 @@ if test "$DISTRO" != "fedora" -a "$DISTRO" != "centos" -a "$DISTRO" != "rhel"; t
     exit 0
 fi
 
+RELEASE="$(lsb_release --short -r | cut -d '.' -f 1)" # sytem release
+
 ## Get the desired CEPH_BRANCH/CEPH_SHA1 ceph repo
 # Get .repo file from appropriate shaman build
 REPO_URL="https://shaman.ceph.com/api/repos/ceph/$CEPH_BRANCH/$CEPH_SHA1/$DISTRO/$RELEASE/flavors/default/repo"