summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@mariadb.org>2016-11-08 22:18:19 +0200
committerOtto Kekäläinen <otto@mariadb.org>2016-11-10 18:26:46 +0200
commite820dec1f98c7d8e85fc856b9ed81aed053cea7c (patch)
tree97ad24b2500dc21ae0393cbdb7685477befb011f /debian
parentd50ca3535e8b1821863ff9ea23c09615f1a2e6cf (diff)
downloadmariadb-git-e820dec1f98c7d8e85fc856b9ed81aed053cea7c.tar.gz
Deb: List package contents as part of the build log
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/autobake-deb.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/autobake-deb.sh b/debian/autobake-deb.sh
index 4c8bc74c2cd..38c1d64a5e2 100755
--- a/debian/autobake-deb.sh
+++ b/debian/autobake-deb.sh
@@ -85,4 +85,17 @@ echo "Creating package version ${UPSTREAM}${PATCHLEVEL}~${CODENAME} ... "
# generating the source package.
fakeroot dpkg-buildpackage -us -uc -I -b
+# Don't log package contents on Travis-CI to save time and log size
+if [[ ! $TRAVIS ]]
+then
+ echo "List package contents ..."
+ cd ..
+ for package in `ls *.deb`
+ do
+ echo $package | cut -d '_' -f 1
+ dpkg-deb -c $package | awk '{print $1 " " $2 " " $6}' | sort -k 3
+ echo "------------------------------------------------"
+ done
+fi
+
echo "Build complete"