Package: nvidia-kernel-source
Version: 185.18.14-1
Severity: normal
Tags: patch
Hello,
During build nvidia kernel module I spotted following warning:
dh_builddeb --destdir=
Option destdir requires an argument
dh_builddeb: warning: unknown options will be a fatal error in a future
debhelper release
I build the package using debian/rules binary_modules
In debian/rules file there is call:
dh_builddeb --destdir=$(KPKG_DEST_DIR)
I believe that KPKG_DEST_DIR is passed from caller via command line. In such
case adding following line:
KPKG_DEST_DIR ?= ..
somewhere at the begining of rules file is sufficient and shall not break
anything.
Regards
Artur
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-2-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nvidia-kernel-source depends on:
ii debhelper 7.2.16 helper programs for debian/rules
ii dpatch 2.0.31 patch maintenance system for Debia
ii make 3.81-6 An utility for Directing compilati
ii sed 4.2-1 The GNU sed stream editor
Versions of packages nvidia-kernel-source recommends:
ii devscripts 2.10.52 scripts to make the life of a Debi
ii kernel-package 12.014 A utility for building Linux kerne
ii nvidia-glx 185.18.14-1 NVIDIA binary Xorg driver
nvidia-kernel-source suggests no packages.
-- no debconf information
--
Artur R. Czechowski <[email protected]>
JID: [email protected] http://hell.pl/arturcz
diff -u debian.orig/rules debian/rules
--- debian.orig/rules 2009-06-25 08:12:45.224704232 +0200
+++ debian/rules 2009-06-25 08:17:13.881083383 +0200
@@ -14,6 +14,7 @@
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+KPKG_DEST_DIR ?= ..
# Prefix of the target package name