sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Jaka Kranjc (4ba1ef34c4121c27bac2a58d0ff4d085d6ab1408)
- From: Jaka Kranjc <scm AT mail.sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (4ba1ef34c4121c27bac2a58d0ff4d085d6ab1408)
- Date: Tue, 11 Jul 2006 10:45:03 -0500
GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:
utils/dmx4linux/HISTORY | 3 +++
utils/dmx4linux/PREPARE | 6 ++++++
2 files changed, 9 insertions(+)
New commits:
commit 4ba1ef34c4121c27bac2a58d0ff4d085d6ab1408
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
dmx4linux: bail out gracefully on newer kernels #11078
diff --git a/utils/dmx4linux/HISTORY b/utils/dmx4linux/HISTORY
index 808adbc..74eadfa 100644
--- a/utils/dmx4linux/HISTORY
+++ b/utils/dmx4linux/HISTORY
@@ -1,3 +1,6 @@
+2006-07-11 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * PREPARE: added, bail out gracefully on newer kernels
+
2006-06-28 Eric Sandall <eric AT sandall.us>
* DETAILS: Removed BUILD_API=2, set grimoire-wide
diff --git a/utils/dmx4linux/PREPARE b/utils/dmx4linux/PREPARE
new file mode 100755
index 0000000..d8f5696
--- /dev/null
+++ b/utils/dmx4linux/PREPARE
@@ -0,0 +1,6 @@
+local KVER=$(get_kernel_version)
+if (( ${KVER:2:1} > 4 )); then
+ message "${PROBLEM_COLOR}You are running a $KVER kernel, but this software
"
+ message "works only on older kernels (2.4), bailing out.$DEFAULT_COLOR"
+ return 1
+fi
- [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (4ba1ef34c4121c27bac2a58d0ff4d085d6ab1408), Jaka Kranjc, 07/11/2006
Archive powered by MHonArc 2.6.24.