[linux-signed] 04/06: Note in the package descriptions exactly what has been signed

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Tue Jun 7 16:29:31 UTC 2016


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

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

commit 209ff8ee864da36628b5d85b6425ec5f0c448144
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Mon Jun 6 18:48:50 2016 +0100

    Note in the package descriptions exactly what has been signed
---
 debian/rules.real                        | 3 +++
 debian/templates/control.image-signed.in | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/debian/rules.real b/debian/rules.real
index f8364ea..673ee57 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -18,6 +18,9 @@ install-signed:
 	if [ -f $(SIGNATURE_DIR)/boot/vmlinuz-$(KERNEL_VERSION).sig ]; then \
 		sbattach --attach $(SIGNATURE_DIR)/boot/vmlinuz-$(KERNEL_VERSION).sig \
 			$(PACKAGE_DIR)/boot/vmlinuz-$(KERNEL_VERSION); \
+		echo >> debian/$(PACKAGE_NAME).substvars 'signed:Description=The kernel image and modules are signed for use with Secure Boot.'; \
+	else \
+		echo >> debian/$(PACKAGE_NAME).substvars 'signed:Description=The modules are signed.'; \
 	fi
 	mkdir -p $(PACKAGE_DIR)/lib/modules/$(KERNEL_VERSION)
 	rsync -a $(addprefix /lib/modules/$(KERNEL_VERSION)/,kernel modules.builtin modules.order) \
diff --git a/debian/templates/control.image-signed.in b/debian/templates/control.image-signed.in
index f8cebf2..a6d0bab 100644
--- a/debian/templates/control.image-signed.in
+++ b/debian/templates/control.image-signed.in
@@ -8,4 +8,6 @@ Replaces: linux-image- at abiname@@localversion@
 Provides: linux-image- at abiname@@localversion@, ${unsigned:Provides}
 Description: ${unsigned:DescriptionShort} (signed)
  ${unsigned:DescriptionLong}
+ .
+ ${signed:Description}
 Built-Using: linux (= @imageversion@)

-- 
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