dkms: give user some feedback when build failed

Closes: #6954 [via git-merge-pr]
This commit is contained in:
David Flatz 2017-07-04 17:07:49 +02:00 committed by Michael Aldridge
parent fbbfe56b35
commit 08c803d443
2 changed files with 2 additions and 1 deletions

View File

@ -58,6 +58,7 @@ while [ $# -ne 0 ]; do
elif [ $rval -eq 0 ]; then elif [ $rval -eq 0 ]; then
echo "done." echo "done."
else else
echo "FAILED!"
exit $? exit $?
fi fi
status=$(dkms status -m ${module} -v ${modulever} -k ${VERSION}) status=$(dkms status -m ${module} -v ${modulever} -k ${VERSION})

View File

@ -1,7 +1,7 @@
# Template file for 'dkms' # Template file for 'dkms'
pkgname=dkms pkgname=dkms
version=2.4.0 version=2.4.0
revision=1 revision=2
conf_files="/etc/dkms/framework.conf" conf_files="/etc/dkms/framework.conf"
depends="bash kmod gcc make coreutils linux-headers" depends="bash kmod gcc make coreutils linux-headers"
homepage="https://github.com/dell/dkms" homepage="https://github.com/dell/dkms"