Package: cpad-kernel-source
Severity: important
Tags: patch

The following command should work:

KSRC=/usr/src/linux-headers-2.6.14-2-386 KPKG_DEST_DIR="\$(CURDIR)/.." 
KDREV="0.99.jones1" fakeroot debian/rules kdist_configure kdist_image

...but it ignores the KSRC and uses the internal one.

The following fixes this:

--- rules.orig  2005-10-13 03:38:42.000000000 +0200                             
                                                                                
                      
+++ rules       2005-12-03 13:16:50.000000000 +0100                             
                                                                                
                      
@@ -34,7 +34,7 @@                                                               
                                                                                
                      
 package                = cpad-kernel                                           
                                                                                
                      
 # KSRC is the location of the kernel source. This is the default value,        
                                                                                
                      
 # when make-kpkg is used it will supply to real value                          
                                                                                
                      
-KSRC           = /usr/src/linux                                                
                                                                                
                      
+KSRC           ?= /usr/src/linux                                               
                                                                                
                      
 # KDREV is the package-revision, as given to make-kpkg by the user.            
                                                                                
                      
 # Just put a simply default value in here which we use when we test            
                                                                                
                      
 # the packagebuilding without make-kpkg                                        
                                                                                
                      


(I believe KDREV can be simplified to use same construct)


 - Jonas

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-powerpc
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to