[Pkg-dkms-commits] [SCM] Dynamic Kernel Module Support branch, master, updated. debian/2.1.1.0-2-7-gceae470

Giuseppe Iuculano iuculano at debian.org
Wed Jan 27 08:54:09 UTC 2010


The following commit has been merged in the master branch:
commit 48ff9a49422392d6b5f968eb67e3d1375f0802b8
Author: Giuseppe Iuculano <iuculano at debian.org>
Date:   Wed Jan 27 09:50:12 2010 +0100

    Correct a minor shell error in dkms_autoinstaller

diff --git a/debian/patches/01_shell_error.patch b/debian/patches/01_shell_error.patch
new file mode 100644
index 0000000..8b68e58
--- /dev/null
+++ b/debian/patches/01_shell_error.patch
@@ -0,0 +1,13 @@
+Correct a minor shell error in dkms_autoinstaller
+--- a/dkms_autoinstaller
++++ b/dkms_autoinstaller
+@@ -138,8 +138,7 @@ case "$1" in
+             else
+                 invoke_command "dkms install -m $module_in_tree -v $version_in_tree -k $kernel -a $arch -q" "." background
+                 return_status=$?
+-                if [ "$return_status" -eq 0 ]; then
+-                elif [ "$return_status" -eq 101 ]; then
++                if [ "$return_status" -eq 101 ]; then
+                     logger -t dkms_autoinstaller "  A newer module version than this already exists in kernel."
+                     logger -t dkms_autoinstaller "  Skipping install... (you can manually install later with --force)"
+                 elif [ "$return_status" -ne 0 ]; then
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..ca4dff0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_shell_error.patch

-- 
Dynamic Kernel Module Support



More information about the Pkg-dkms-commits mailing list