[linux-signed] 03/03: LOCAL: fetch signaturs from dak-test; don't check gpg signature
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Thu Jun 30 16:05:03 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-signed.
commit 27c7de3429d0daaa58a8934b126343f1d517ae7c
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Jun 30 17:47:58 2016 +0200
LOCAL: fetch signaturs from dak-test; don't check gpg signature
---
debian/bin/sign.py | 22 +++++++++++-----------
debian/rules.defs | 2 +-
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/debian/bin/sign.py b/debian/bin/sign.py
index f8e3ab7..6c7cb84 100755
--- a/debian/bin/sign.py
+++ b/debian/bin/sign.py
@@ -21,16 +21,16 @@ def get_release_data(mirror, suite):
# Validate against keyring. deb822.Release seems to expect
# detached signatures so call gpgv directly.
- with tempfile.NamedTemporaryFile() as release_file:
- release_file.write(release_raw)
- output = subprocess.check_output(
- ['gpgv', '--status-fd', '1',
- '--keyring', '/usr/share/keyrings/debian-archive-keyring.gpg',
- '--ignore-time-conflict', release_file.name])
- if not re.search(r'^\[GNUPG:\]\s+VALIDSIG\s', codecs.decode(output),
- re.MULTILINE):
- os.write(2, output) # bytes not str!
- raise Exception('gpgv rejected %s' % url)
+ # with tempfile.NamedTemporaryFile() as release_file:
+ # release_file.write(release_raw)
+ # output = subprocess.check_output(
+ # ['gpgv', '--status-fd', '1',
+ # '--keyring', '/usr/share/keyrings/debian-archive-keyring.gpg',
+ # '--ignore-time-conflict', release_file.name])
+ # if not re.search(r'^\[GNUPG:\]\s+VALIDSIG\s', codecs.decode(output),
+ # re.MULTILINE):
+ # os.write(2, output) # bytes not str!
+ # raise Exception('gpgv rejected %s' % url)
release_stream = io.TextIOWrapper(io.BytesIO(release_raw), 'utf-8')
@@ -83,7 +83,7 @@ def sign(config_name, imageversion_str, mirror_url, suite):
shutil.rmtree(signature_dir)
os.makedirs('debian/signatures')
- for arch in iter(config['base', ]['arches']):
+ for arch in ['amd64']:
for featureset in config['base', arch].get('featuresets', ()):
if (config.merge('base', None, featureset).get('enabled', True) and
config.merge('build', arch, featureset).get('signed-modules', False)):
diff --git a/debian/rules.defs b/debian/rules.defs
index cb5957c..696767a 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -5,5 +5,5 @@ KERNEL_ABINAME := 4.7.0-rc4
KERNEL_IMAGE_VERSION := 4.7~rc4-1~exp1
SIGNED_VERSION_SUFFIX :=
-MIRROR_URL = http://deb.debian.org/debian/
+MIRROR_URL = http://192.168.122.9/debian/
MIRROR_SUITE = experimental
--
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