[Pkg-fglrx-devel] r718 - fglrx-driver/branches/resurrect-fglrx-source/debian
Andreas Beckmann
anbe-guest at alioth.debian.org
Wed Aug 10 11:02:08 UTC 2011
Author: anbe-guest
Date: 2011-08-10 11:02:08 +0000 (Wed, 10 Aug 2011)
New Revision: 718
Added:
fglrx-driver/branches/resurrect-fglrx-source/debian/build-module-packages.sh
fglrx-driver/branches/resurrect-fglrx-source/debian/fglrx-source.docs
Log:
add a mass module build script, taken from nvidia
Added: fglrx-driver/branches/resurrect-fglrx-source/debian/build-module-packages.sh
===================================================================
--- fglrx-driver/branches/resurrect-fglrx-source/debian/build-module-packages.sh (rev 0)
+++ fglrx-driver/branches/resurrect-fglrx-source/debian/build-module-packages.sh 2011-08-10 11:02:08 UTC (rev 718)
@@ -0,0 +1,19 @@
+set -e
+
+test -x /usr/bin/module-assistant || apt-get install module-assistant
+
+cd /usr/src
+
+kernels="$(ls -d1 linux-headers* | grep -v common | sed -e s/linux-headers-//)"
+modules="$(ls -d1 fglrx.tar.bz2 | sed -e s/.tar.bz2// -e '/-kernel/! s/$/-kernel/')"
+
+module-assistant clean $modules
+module-assistant build --text-mode --force --kvers-list "$kernels" $modules
+
+ls -l *.deb
+for m in $modules ; do
+ for k in $kernels ; do
+ echo "* ${m}-${k}:"
+ ls -l ${m}-${k}_*.deb
+ done
+done
Added: fglrx-driver/branches/resurrect-fglrx-source/debian/fglrx-source.docs
===================================================================
--- fglrx-driver/branches/resurrect-fglrx-source/debian/fglrx-source.docs (rev 0)
+++ fglrx-driver/branches/resurrect-fglrx-source/debian/fglrx-source.docs 2011-08-10 11:02:08 UTC (rev 718)
@@ -0,0 +1 @@
+debian/build-module-packages.sh
More information about the Pkg-fglrx-devel
mailing list