From: Russ Allbery Date: Thu, 16 Jun 2011 15:41:39 +0000 (-0700) Subject: Fix builds with make-kpkg X-Git-Tag: debian/1.6.0.pre6-1~2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4e32ca293f40af17673564f98953027e7d05304a;p=packages%2Fo%2Fopenafs.git Fix builds with make-kpkg * Add a dummy debian/rules rule in the kernel module rules file to fix builds with make-kpkg. (Closes: #622260) --- diff --git a/debian/changelog b/debian/changelog index 73e807781..67c24d3ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ openafs (1.6.0~pre6-1) unstable; urgency=low - Fix callback state handling with demand-attach when salvaged. - Fix reference leak in GetCapabilities. - Document DNS SRV record usage in afsd man page. + * Add a dummy debian/rules rule in the kernel module rules file to fix + builds with make-kpkg. (Closes: #622260) -- Russ Allbery Thu, 16 Jun 2011 08:38:10 -0700 diff --git a/debian/module/rules b/debian/module/rules index 6cfc96269..1eac3417a 100755 --- a/debian/module/rules +++ b/debian/module/rules @@ -29,6 +29,10 @@ package = openafs modulepkg := openafs-modules-$(KVERS)${INT_SUBARCH} moduledir := debian/$(modulepkg)/lib/modules/$(KVERS)/fs +# make-kpkg tries to rebuild debian/rules first, so add a dummy target to +# avoid our dh wildcard rule and a fatal error. +debian/rules: + # This setup must be done before running any other target if it hasn't # already been done. setup: