[kernel-tests] 02/03: Test for nvidia modules building against current kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an automated email from the git hooks/post-receive script.

jforbes pushed a commit to branch master
in repository kernel-tests.

commit 0cedd6705a22bb62049587b4a92be87b6c3b7299
Author: Justin M. Forbes <jforbes@xxxxxxxxxx>
Date:   Tue Feb 28 16:51:20 2017 -0600

    Test for nvidia modules building against current kernel
---
 thirdparty/nvidia-module/runtest.sh | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/thirdparty/nvidia-module/runtest.sh b/thirdparty/nvidia-module/runtest.sh
new file mode 100755
index 0000000..b00a663
--- /dev/null
+++ b/thirdparty/nvidia-module/runtest.sh
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+source ../../utils/root-check.sh
+source ../../utils/build-deps.sh
+
+check_root
+is_root=$?
+if [ $is_root -ne 0 ]; then
+	exit 3
+fi
+
+# Ensure we have curl and kernel-devel
+check_dep curl
+check_dep kernel-devel
+
+baseurl='http://http.download.nvidia.com/XFree86/Linux-x86_64'
+latest=`curl $baseurl/latest.txt | cut -d ' ' -f1`
+installer="NVIDIA-Linux-x86_64-$latest"
+
+
+if [ ! -f "$installer" ]
+then
+	curl -O "$baseurl/$latest/$installer.run"
+	[ $? -eq 0 ] || exit 3
+fi
+
+sh $installer.run --extract-only --target tmp
+pushd tmp/kernel
+make modules > build.log
+[ $? -eq 0 ] || exit 4
+popd
+rm -rf tmp
+
+echo module version $latest built for `uname -r`

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux