[linux] 01/01: debian/rules.real: Build a linux-code-sign tarball for signing by dak
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Thu Jun 30 19:54:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch benh/byhand-code-sign
in repository linux.
commit a063d9d54bf818acef28e8fcc6dce382f3a5e987
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Jun 30 19:06:11 2016 +0200
debian/rules.real: Build a linux-code-sign tarball for signing by dak
---
debian/bin/gencontrol.py | 4 ++++
debian/changelog | 3 +++
debian/rules.real | 13 +++++++++++++
3 files changed, 20 insertions(+)
diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py
index 0537546..db889f3 100755
--- a/debian/bin/gencontrol.py
+++ b/debian/bin/gencontrol.py
@@ -242,6 +242,10 @@ class Gencontrol(Base):
(arch, makeflags,
' '.join(p['Package'] for p in udeb_packages),
test_build)])
+ makefile.add(
+ 'binary-arch_%s' % arch,
+ cmds=["$(MAKE) -f debian/rules.real install-code-sign_%s %s" %
+ (arch, makeflags)])
def do_featureset_setup(self, vars, makeflags, arch, featureset, extra):
config_base = self.config.merge('base', arch, featureset)
diff --git a/debian/changelog b/debian/changelog
index 7a9de13..06a107f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ linux (4.7~rc4-1~exp2) UNRELEASED; urgency=medium
[ Martin Michlmayr ]
* [armhf, arm64] Enable DRM_TEGRA_STAGING.
+ [ Ben Hutchings ]
+ * debian/rules.real: Build a linux-code-sign tarball for signing by dak
+
-- Ben Hutchings <ben at decadent.org.uk> Tue, 21 Jun 2016 20:43:50 +0100
linux (4.7~rc4-1~exp1) experimental; urgency=medium
diff --git a/debian/rules.real b/debian/rules.real
index c0cd09a..39d6ef7 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -460,6 +460,19 @@ endif
ln -s ../../../boot/vmlinux-$(REAL_VERSION) $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/vmlinux
+$(MAKE_SELF) install-base
+install-code-sign_$(ARCH): TARBALL=linux-code-sign_$(SOURCEVERSION)_$(ARCH).tar.xz
+install-code-sign_$(ARCH):
+ifneq ($(wildcard debian/linux-image-*-unsigned),)
+ { cd debian; \
+ for dir in linux-image-*-unsigned; do \
+ grep -l '^CONFIG_EFI_STUB=y' $$dir/boot/config-* | sed 's|/config-|/vmlinuz-|'; \
+ find $$dir/lib/modules -name '*.ko'; \
+ done \
+ | tar --no-recursion -T - -c --xz -f -; } \
+ > ../$(TARBALL)
+ dpkg-distaddfile $(TARBALL) byhand extra
+endif
+
install-udeb_$(ARCH): export KW_DEFCONFIG_DIR=debian/installer
install-udeb_$(ARCH): export KW_CONFIG_DIR=debian/installer/$(ARCH)
install-udeb_$(ARCH): DH_OPTIONS=$(PACKAGE_NAMES:%=-p%)
--
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