[linux-signed] 02/04: Copy device tree files from unsigned package (Closes: #836255)

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Thu Sep 15 16:02:55 UTC 2016


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

benh pushed a commit to branch sid
in repository linux-signed.

commit 0fe1f2a3336f0d1f8764ab3d87ef7d0532ecd0ca
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sun Sep 4 22:36:22 2016 +0100

    Copy device tree files from unsigned package (Closes: #836255)
---
 debian/changelog  | 1 +
 debian/rules.real | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 61a8cdb..ee8656a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 linux-signed (2.3) UNRELEASED; urgency=medium
 
   * Add +s1 to binary package version
+  * Copy device tree files from unsigned package (Closes: #836255)
 
  -- Ben Hutchings <ben at decadent.org.uk>  Sun, 04 Sep 2016 22:28:22 +0100
 
diff --git a/debian/rules.real b/debian/rules.real
index cd7670e..8632121 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -31,6 +31,12 @@ install-signed:
 			sha256 $(KERNEL_MODULES_CERT) \
 			$(PACKAGE_DIR)/lib/modules/$(KERNEL_VERSION)/$${path%.sig}; \
 	done < <(find $(SIGNATURE_DIR)/lib/modules/$(KERNEL_VERSION) -name '*.sig' -printf '%P\n')
+# Copy any device tree files
+	if [ -d /usr/lib/linux-image-$(KERNEL_VERSION) ]; then \
+		mkdir -p $(PACKAGE_DIR)/usr/lib/linux-image-$(KERNEL_VERSION); \
+		rsync -a /usr/lib/linux-image-$(KERNEL_VERSION)/ \
+			$(PACKAGE_DIR)/usr/lib/linux-image-$(KERNEL_VERSION)/; \
+	fi
 # Copy bug scripts but change the info file to refer to the right package
 	mkdir -p $(PACKAGE_DIR)/usr/share/bug/$(PACKAGE_NAME)
 	rsync -a /usr/share/bug/$(IMAGE_PACKAGE_NAME)/ \

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



More information about the Kernel-svn-changes mailing list