[linux] 03/04: linux-headers: Exclude all .cmd files

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Thu Aug 25 07:53:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository linux.

commit 28eab7aa6b437d32004070fd14a230504c2e7edf
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Thu Aug 4 00:55:52 2016 +0100

    linux-headers: Exclude all .cmd files
    
    These are not needed for building OOT modules and their contents may
    vary depending on whether /bin/sh is bash.
---
 debian/changelog  | 1 +
 debian/rules.real | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 085fa0f..a206ec9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ linux (4.7.2-1) UNRELEASED; urgency=medium
   * usbip: Use the locally-installed <linux/usbip.h>
   * Exclude redundant and unreproducible files from binary packages
     - usbip: Put all autotools-generated files in the build directory
+    - linux-headers: Exclude all .cmd files
 
   [ Martin Michlmayr ]
   * [armhf] Enable MMC_SDHCI_IPROC and HW_RANDOM_BCM2835 for BCM2835.
diff --git a/debian/rules.real b/debian/rules.real
index 7c4125c..2175cb4 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -299,6 +299,7 @@ install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/build_$(ARCH)_$(
 	cp -a $(SOURCE_DIR)/{.config,.kernel*,Module.symvers,include} $(DIR)
 	cp -a $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/include $(DIR)/arch/$(KERNEL_ARCH)
 	cp -a $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/kernel/asm-offsets.s $(DIR)/arch/$(KERNEL_ARCH)/kernel
+	find $(DIR) -name '*.cmd' -delete
 
 	if [ -f $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/lib/crtsavres.o ]; then \
 		mkdir $(DIR)/arch/$(KERNEL_ARCH)/lib; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list