Skip to content

Commit e820dec

Browse files
committed
Deb: List package contents as part of the build log
1 parent d50ca35 commit e820dec

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

debian/autobake-deb.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,17 @@ echo "Creating package version ${UPSTREAM}${PATCHLEVEL}~${CODENAME} ... "
8585
# generating the source package.
8686
fakeroot dpkg-buildpackage -us -uc -I -b
8787

88+
# Don't log package contents on Travis-CI to save time and log size
89+
if [[ ! $TRAVIS ]]
90+
then
91+
echo "List package contents ..."
92+
cd ..
93+
for package in `ls *.deb`
94+
do
95+
echo $package | cut -d '_' -f 1
96+
dpkg-deb -c $package | awk '{print $1 " " $2 " " $6}' | sort -k 3
97+
echo "------------------------------------------------"
98+
done
99+
fi
100+
88101
echo "Build complete"

0 commit comments

Comments
 (0)