[kernel] r9478 - in dists/sid/linux-2.6/debian: . templates/image.plain.bug
Bastian Blank
waldi at alioth.debian.org
Sun Sep 9 13:14:15 UTC 2007
Author: waldi
Date: Sun Sep 9 13:14:15 2007
New Revision: 9478
Log:
* debian/changelog: Update.
* debian/templates/image.plain.bug/include-1tainted: Fix.
Modified:
dists/sid/linux-2.6/debian/changelog
dists/sid/linux-2.6/debian/templates/image.plain.bug/include-1tainted
Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog (original)
+++ dists/sid/linux-2.6/debian/changelog Sun Sep 9 13:14:15 2007
@@ -31,7 +31,10 @@
* [mips] Add a fix so qemu NE2000 will work again.
* [mipsel/r5k-cobalt] Enable MTD.
- -- maximilian attems <maks at debian.org> Wed, 05 Sep 2007 22:44:42 +0200
+ [ Bastian Blank ]
+ * Fix tainted check in bug scripts.
+
+ -- Bastian Blank <waldi at debian.org> Sun, 09 Sep 2007 15:13:20 +0200
linux-2.6 (2.6.22-4) unstable; urgency=low
Modified: dists/sid/linux-2.6/debian/templates/image.plain.bug/include-1tainted
==============================================================================
--- dists/sid/linux-2.6/debian/templates/image.plain.bug/include-1tainted (original)
+++ dists/sid/linux-2.6/debian/templates/image.plain.bug/include-1tainted Sun Sep 9 13:14:15 2007
@@ -9,13 +9,13 @@
tainted=$(cat /proc/sys/kernel/tainted)
if [ "$tainted" -gt 0 ]; then
local s
- [ $(($tainted & $TAINT_PROPRIETARY_MODULE)) ] && s="P" || s="G"
- [ $(($tainted & $TAINT_FORCED_MODULE)) ] && s="${s}F"
- [ $(($tainted & $TAINT_UNSAFE_SMP)) ] && s="${s}S"
- [ $(($tainted & $TAINT_FORCED_RMMOD)) ] && s="${s}R"
- [ $(($tainted & $TAINT_MACHINE_CHECK)) ] && s="${s}M"
- [ $(($tainted & $TAINT_BAD_PAGE)) ] && s="${s}B"
- echo '** Tainted:' $s >&3
+ [ $(($tainted & $TAINT_PROPRIETARY_MODULE)) -ne 0 ] && s="P" || s="G"
+ [ $(($tainted & $TAINT_FORCED_MODULE)) -ne 0 ] && s="${s}F" || s="$s "
+ [ $(($tainted & $TAINT_UNSAFE_SMP)) -ne 0 ] && s="${s}S" || s="$s "
+ [ $(($tainted & $TAINT_FORCED_RMMOD)) -ne 0 ] && s="${s}R" || s="$s "
+ [ $(($tainted & $TAINT_MACHINE_CHECK)) -ne 0 ] && s="${s}M" || s="$s "
+ [ $(($tainted & $TAINT_BAD_PAGE)) -ne 0 ] && s="${s}B" || s="$s "
+ echo '** Tainted:' $s "($tainted)" >&3
echo >&3
else
echo '** Not tainted' >&3
More information about the Kernel-svn-changes
mailing list