sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Eric Sandall (ea5fb865255767f908a9564fdf11e8dd936795f5)
- From: "Elisamuel Resto" <samuel AT dragonboricua.net>
- To: sm-commit AT lists.ibiblio.org
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Eric Sandall (ea5fb865255767f908a9564fdf11e8dd936795f5)
- Date: Wed, 10 Sep 2008 07:42:28 -0400
On Wed, 10 Sep 2008, Eric Sandall wrote:
<snip>
diff --git a/kernels/drm/PREPARE b/kernels/drm/PREPARE</snip>
index afb621f..3106d2c 100755
--- a/kernels/drm/PREPARE
+++ b/kernels/drm/PREPARE
@@ -1,3 +1,24 @@
config_query DRM_AUTOUPDATE \
- "Automaticaly update the spell on sorcery queue/system-update?" "n"
+ "Automaticaly update the spell on sorcery queue/system-update?" "n" &&
+#
+# At least for 2.6.26 and 2.6.27, drm requires CONFIG_UNUSED_SYMBOLS=y
+# to define init_mm
+#
+local _KERNEL_VERSION=$(installed_version linux|cut -d. -f1,2,3) &&
+
+if [[ "$_KERNEL_VERSION" == "2.6.26" ||
+ "$_KERNEL_VERSION" == "2.6.27" ]]
You could have made it "$_KERNEL_VERSION >= 2.6.26" instead of that, future-proof.
-
[SM-Commit] GIT changes to master grimoire by Eric Sandall (ea5fb865255767f908a9564fdf11e8dd936795f5),
Eric Sandall, 09/10/2008
- Re: [SM-Commit] GIT changes to master grimoire by Eric Sandall (ea5fb865255767f908a9564fdf11e8dd936795f5), Elisamuel Resto, 09/10/2008
Archive powered by MHonArc 2.6.24.