]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
samba: Minor fix-ups 588/head
authorBoris Ranto <branto@redhat.com>
Fri, 9 Dec 2016 15:48:52 +0000 (16:48 +0100)
committerBoris Ranto <branto@redhat.com>
Fri, 9 Dec 2016 16:00:03 +0000 (17:00 +0100)
This also fixes the get_distro_and_target function to get the proper
DIST and DISTRO for the new trusty-pbuilder-like tags.

Signed-off-by: Boris Ranto <branto@redhat.com>
samba/build/build_deb
samba/build/build_rpm
samba/config/definitions/samba.yml
scripts/build_utils.sh

index 61fea4c0a73b81e6f22ca928c808cabe61347bf4..c95629a38bc64d0c9a2ffc75e368db4716ec6f7d 100644 (file)
@@ -19,7 +19,7 @@ sudo gem install fpm
 # Prepare the build
 DESTDIR="install.tmp"
 install -d -m0755 -- "$DESTDIR"
-./configure
+./configure --without-lttng
 
 # Perform the build and install the files to DESTDIR
 NCPU=$(grep -c processor /proc/cpuinfo)
index f19b803195c9704bce10401b26199d9873855884..44e1c73b01738cafc23493cbf1d8e3d64cdd275f 100644 (file)
@@ -9,8 +9,7 @@ fi
 
 ## Install any setup-time deps
 # We need these for the build
-sudo yum remove -y lttng-ust-devel # HACK: This package fails the build if installed :-/
-sudo yum install -y gnutls-devel libacl-devel openldap-devel rubygems ruby-devel docbook-xsl lttng-ust-devel
+sudo yum install -y gnutls-devel libacl-devel openldap-devel rubygems ruby-devel
 
 # We use fpm to create the deb package
 sudo gem install fpm
@@ -20,7 +19,7 @@ sudo gem install fpm
 # Prepare the build
 DESTDIR="install.tmp"
 install -d -m0755 -- "$DESTDIR"
-./configure
+./configure --without-lttng
 
 # Perform the build and install the files to DESTDIR
 NCPU=$(grep -c processor /proc/cpuinfo)
index e34665ba9d94efa2a257ed4c1dcfb2a7aebb8135..97c2226134d2b415cb2911c77f634229eb3bddae 100644 (file)
@@ -53,7 +53,7 @@ If this is checked, then the binaries will be built and pushed to chacra even if
           values:
             - centos6
             - centos7
-            - trusty
+            - trusty-pbuilder
             - xenial
             - jessie
             - precise
index 984a216e64155bb79f4932d959d1e37b58e50454..dbc42680127f157044e191c93a927de579a05780 100644 (file)
@@ -281,10 +281,24 @@ get_distro_and_target() {
     # Get distro from DIST for chacra uploads
     DISTRO=""
     case $DIST in
-        jessie|wheezy)
+        jessie*)
+            DIST=jessie
             DISTRO="debian"
             ;;
-        xenial|precise|trusty)
+        wheezy*)
+            DIST=wheezy
+            DISTRO="debian"
+            ;;
+        xenial*)
+            DIST=xenial
+            DISTRO="ubuntu"
+            ;;
+        precise*)
+            DIST=precise
+            DISTRO="ubuntu"
+            ;;
+        trusty*)
+            DIST=trusty
             DISTRO="ubuntu"
             ;;
         centos*)