trivial: debian: disable test suite if fwupd is currently installed

This commit is contained in:
Mario Limonciello 2018-08-23 10:58:50 -05:00
parent 29129ed4f4
commit 00b8f150dd

View File

@ -22,6 +22,11 @@ mv contrib/debian .
sed s/quilt/native/ debian/source/format -i
#generate control file
./contrib/ci/generate_debian.py
#disable unit tests if fwupd is already installed (may cause problems)
if [ -x /usr/lib/fwupd/fwupd ]; then
export DEB_BUILD_OPTIONS=nocheck
fi
#build the package
EDITOR=/bin/true dch --create --package fwupd -v $VERSION "CI Build"
debuild --no-lintian --preserve-envvar CI --preserve-envvar CC