From 08c803d4438eebb5f869016b7f9854a0aa36034b Mon Sep 17 00:00:00 2001 From: David Flatz Date: Tue, 4 Jul 2017 17:07:49 +0200 Subject: [PATCH] dkms: give user some feedback when build failed Closes: #6954 [via git-merge-pr] --- srcpkgs/dkms/files/kernel.d/dkms.postinst | 1 + srcpkgs/dkms/template | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/dkms/files/kernel.d/dkms.postinst b/srcpkgs/dkms/files/kernel.d/dkms.postinst index 85e8cc87dd4..c1aa0a8f666 100644 --- a/srcpkgs/dkms/files/kernel.d/dkms.postinst +++ b/srcpkgs/dkms/files/kernel.d/dkms.postinst @@ -58,6 +58,7 @@ while [ $# -ne 0 ]; do elif [ $rval -eq 0 ]; then echo "done." else + echo "FAILED!" exit $? fi status=$(dkms status -m ${module} -v ${modulever} -k ${VERSION}) diff --git a/srcpkgs/dkms/template b/srcpkgs/dkms/template index 3263ad12407..c8446853815 100644 --- a/srcpkgs/dkms/template +++ b/srcpkgs/dkms/template @@ -1,7 +1,7 @@ # Template file for 'dkms' pkgname=dkms version=2.4.0 -revision=1 +revision=2 conf_files="/etc/dkms/framework.conf" depends="bash kmod gcc make coreutils linux-headers" homepage="https://github.com/dell/dkms"