From: Russ Allbery Date: Thu, 11 Aug 2005 01:35:25 +0000 (+0000) Subject: * Don't include the empty /usr/src/modules directory in X-Git-Tag: debian/1.3.87-1~14 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=40c5a077704634f22ca744747d8e8fbd14c6b8ec;p=packages%2Fo%2Fopenafs.git * Don't include the empty /usr/src/modules directory in openafs-modules-source, only the tarball, to match how other kernel module source packages behave. (Closes: #244685) --- diff --git a/debian/changelog b/debian/changelog index 3d5290c40..242fb117d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,9 @@ openafs (1.3.87-1) unstable; urgency=low they occur normally when doing the regular package build and are just confusing. Instead, print an error in kern-sysname and abort if the kernel version could not be determined. + * Don't include the empty /usr/src/modules directory in + openafs-modules-source, only the tarball, to match how other kernel + module source packages behave. (Closes: #244685) * Translation updates. - French, thanks Christian Perrier. (Closes: #318807) - Vietnamese, thanks Clytie Siddall. (Closes: #319705) diff --git a/debian/rules b/debian/rules index cffb2665b..81ae128fb 100755 --- a/debian/rules +++ b/debian/rules @@ -206,7 +206,7 @@ binary-source: chmod 775 debian/$(srcpkg)/usr/src/modules cd debian/$(srcpkg)/usr/src && \ tar cf $(package).tar modules && \ - rm -r modules/$(package) + rm -r modules gzip -9 debian/$(srcpkg)/usr/src/$(package).tar chmod 644 debian/$(srcpkg)/usr/src/$(package).tar.gz