Bug#631657: [85af971] Fix for Bug#631657 committed to git

2011-07-15 Thread Giuseppe Iuculano

tags 631657 + pending
thanks

Hello,

 The following change has been committed for this bug by
 Giuseppe Iuculano iucul...@debian.org on Fri, 15 Jul 2011 16:11:22 +0200.
 The fix will be in the next upload. 
=
s/uname_s/current_os/

Closes: #631657
Thanks: Robert Millan
=

You can check the diff of the fix at:

http://git.debian.org/?p=collab-maint/dkms.git;a=commitdiff;h=85af971





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#631657: [85af971] Fix for Bug#631657 committed to git

2011-07-15 Thread Giuseppe Iuculano

tags 631657 + pending
thanks

Hello,

 The following change has been committed for this bug by
 Giuseppe Iuculano iucul...@debian.org on Fri, 15 Jul 2011 16:11:22 +0200.
 The fix will be in the next upload. 
=
s/uname_s/current_os/

Closes: #631657
Thanks: Robert Millan
=

You can check the diff of the fix at:

http://git.debian.org/?p=collab-maint/dkms.git;a=commitdiff;h=85af971





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#631657: [85af971] Fix for Bug#631657 committed to git

2011-07-15 Thread Robert Millan
2011/7/15 Giuseppe Iuculano iucul...@debian.org:
 s/uname_s/current_os/

There are two instance of $uname_s in dkms file.  One of them was
already in that file before my last patch.

Here's a debian/patches/kfreebsd.patch that produces a correct dkms.

-- 
Robert Millan
--- a/dkms
+++ b/dkms
@@ -233,6 +233,9 @@
 do_depmod()
 {
 # $1 = kernel version
+if [ ${current_os} != Linux ] ; then
+return
+fi
 if [[ -f /boot/System.map-$1 ]]; then
 	/sbin/depmod -a $1 -F /boot/System.map-$1
 else
@@ -377,7 +380,7 @@
 local orig_location=$1
 [[ ${addon_modules_dir} ]]  echo /${addon_modules_dir}  return
 
-if [ $uname_s = GNU/kFreeBSD ] ; then
+if [ $current_os = GNU/kFreeBSD ] ; then
 	# Does not support subdirs, regardless of distribution
 	echo   return
 fi
--- a/kernel_postinst.d_dkms
+++ b/kernel_postinst.d_dkms
@@ -39,11 +39,6 @@
 /usr/lib/dkms/dkms_autoinstaller start $inst_kern 2
 fi
 
-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


Bug#631657: [85af971] Fix for Bug#631657 committed to git

2011-07-15 Thread Giuseppe Iuculano
On 07/15/2011 04:35 PM, Robert Millan wrote:
 There are two instance of $uname_s in dkms file.  One of them was
 already in that file before my last patch.

Fixed, thanks!

Cheers,
Giuseppe



signature.asc
Description: OpenPGP digital signature