Commit cfa432d6 authored by Cyril Brulebois's avatar Cyril Brulebois

Add a kludge for linux/linux-signed.

Thanks to Julien Cristau for pointing out we're intested in src:linux
instead of src:linux-signed as far as source code license compliance is
parent dd57fed0
......@@ -370,6 +370,8 @@ endif
if [ -z "$$source" ]; then \
source=`dpkg-deb --info $$udeb | awk '/ Package: / { print $$2 }'` ; \
source_version="$$source (= $$version)" ; \
elif echo "$$source" | grep -qs '^linux-signed'; then \
source_version="linux (= $$version)" ; \
elif echo "$$source" | grep -qs '(.*)'; then \
source_version=`echo $$source|sed 's/(/(= /'`; \
else \
......@@ -8,6 +8,12 @@ debian-installer (201610XX) UNRELEASED; urgency=medium
contain a version between parentheses. So let's use that if it's
present, instead of picking the binary version in all cases. This
should fix the REJECT from ftp-master due to unknown packages.
* Since linux code comes from src:linux (instead of src:linux-signed),
add a test on the latter to use linux and the package's version in
this specific case. That won't account for a possible linux binNMU,
but that should be enough for most cases. We might implement looking
up Built-Using inside udebs, and get such a field added for
kernel-image packages, to get the right linux source version.
-- Samuel Thibault <> Fri, 28 Oct 2016 00:57:16 +0200
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment