[Pkg-fglrx-devel] r448 - fglrx-driver/trunk/debian
Michael Gilbert
gilbert-guest at alioth.debian.org
Fri Aug 27 03:24:53 UTC 2010
Author: gilbert-guest
Date: 2010-08-27 03:24:51 +0000 (Fri, 27 Aug 2010)
New Revision: 448
Modified:
fglrx-driver/trunk/debian/changelog
fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst
Log:
Build modules for all installed kernel packages rather than only for the currently active/running kernel.
Modified: fglrx-driver/trunk/debian/changelog
===================================================================
--- fglrx-driver/trunk/debian/changelog 2010-08-26 16:52:48 UTC (rev 447)
+++ fglrx-driver/trunk/debian/changelog 2010-08-27 03:24:51 UTC (rev 448)
@@ -1,5 +1,6 @@
-fglrx-driver (1:10-8-1) UNRELEASED; urgency=medium
+fglrx-driver (1:10-8-1) UNRELEASED; urgency=low
+ [ Patrick Matthäi ]
* New upstream release.
- Now the textures in supertuxkart are realy rendered correctly.
Closes: #586797
@@ -8,6 +9,10 @@
* Depend on virtual package xorg-video-abi-6.0.
Closes: #585433
+ [ Michael Gilbert ]
+ * Build modules for all installed kernel packages rather than only for the
+ currently active/running kernel.
+
-- Patrick Matthäi <pmatthaei at debian.org> Thu, 26 Aug 2010 18:52:06 +0200
fglrx-driver (1:10-7-1) unstable; urgency=low
Modified: fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst
===================================================================
--- fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst 2010-08-26 16:52:48 UTC (rev 447)
+++ fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst 2010-08-27 03:24:51 UTC (rev 448)
@@ -4,18 +4,20 @@
package=fglrx-modules-dkms
-version=`dpkg-query -W -f='${Version}' "$package" \
+version=`dpkg-query -W -f='${Version}' $package \
|rev|cut -d- -f2-|rev|cut -d':' -f2|tr -d "\n"`
-isadded=`dkms status -m fglrx -v "$version"`
+isadded=`dkms status -m fglrx -v $version`
if [ "x${isadded}" = "x" ] ; then
- dkms add -m fglrx -v "$version"
+ dkms add -m fglrx -v $version
fi
-if [ "$1" = 'configure' ] ; then
- dkms build -m fglrx -v "$version"
- dkms install -m fglrx -v "$version" --force
+if [ "$1" = "configure" ] ; then
+ dpkg -l | cut -d' ' -f3 | grep ^linux-image | cut -d- -f3- | while read kversion ; do
+ dkms build -m fglrx -v $version -k $kversion || true
+ dkms install -m fglrx -v $version -k $kversion --force || true
+ done
fi
#DEBHELPER#
More information about the Pkg-fglrx-devel
mailing list