[Pkg-dkms-commits] [SCM] Dynamic Kernel Module Support branch, master, updated. debian/2.2.0.1-2-3-g370ff7b

Giuseppe Iuculano iuculano at debian.org
Fri Jul 15 14:43:49 UTC 2011


The following commit has been merged in the master branch:
commit c9f7ed0ac34835ae32165cfbc80f470b49fb650e
Author: Giuseppe Iuculano <iuculano at debian.org>
Date:   Fri Jul 15 16:40:10 2011 +0200

    Fixed kFreeBSD subdirs check

diff --git a/debian/patches/kfreebsd.patch b/debian/patches/kfreebsd.patch
index 6e7f636..b2b4f78 100644
--- a/debian/patches/kfreebsd.patch
+++ b/debian/patches/kfreebsd.patch
@@ -10,17 +10,12 @@
      if [[ -f /boot/System.map-$1 ]]; then
  	/sbin/depmod -a "$1" -F "/boot/System.map-$1"
      else
---- a/kernel_postinst.d_dkms
-+++ b/kernel_postinst.d_dkms
-@@ -39,11 +39,6 @@ if [ -x /usr/lib/dkms/dkms_autoinstaller
-     /usr/lib/dkms/dkms_autoinstaller start $inst_kern >&2
- fi
+@@ -377,7 +380,7 @@ override_dest_module_location()
+     local orig_location="$1"
+     [[ ${addon_modules_dir} ]] && echo "/${addon_modules_dir}" && return
  
--if [ ! -e /lib/modules/$inst_kern/build/include ] ; then
--    echo "dkms: WARNING: linux headers are missing, which may explain the above failures." >&2
--    echo "      please install the linux-headers-$inst_kern package to fix this." >&2
--fi
--
- if ! _check_kernel_dir $inst_kern ; then
-     echo "dkms: WARNING: $kernel headers are missing, which may explain the above failures." >&2
-     echo "      please install the $header_pkg package to fix this." >&2
+-    if [ "$uname_s" = "GNU/kFreeBSD" ] ; then
++    if [ "$current_os" = "GNU/kFreeBSD" ] ; then
+ 	# Does not support subdirs, regardless of distribution
+ 	echo "" && return
+     fi

-- 
Dynamic Kernel Module Support



More information about the Pkg-dkms-commits mailing list