summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdebian/bin/gencontrol.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py
index f7485df372..f55ca9bb6e 100755
--- a/debian/bin/gencontrol.py
+++ b/debian/bin/gencontrol.py
@@ -658,25 +658,6 @@ linux-signed-{vars['arch']} (@signedtemplate_sourceversion@) {dist}; urgency={ur
'abiname': self.abiname}
distribution = self.changelog[0].distribution
- if distribution in ('unstable', ):
- if version.linux_revision_experimental or \
- version.linux_revision_backports or \
- version.linux_revision_other:
- raise RuntimeError("Can't upload to %s with a version of %s" %
- (distribution, version))
- if distribution in ('experimental', ):
- if not version.linux_revision_experimental:
- raise RuntimeError("Can't upload to %s with a version of %s" %
- (distribution, version))
- if distribution.endswith('-security') or distribution.endswith('-lts'):
- if version.linux_revision_backports or \
- version.linux_revision_other:
- raise RuntimeError("Can't upload to %s with a version of %s" %
- (distribution, version))
- if distribution.endswith('-backports'):
- if not version.linux_revision_backports:
- raise RuntimeError("Can't upload to %s with a version of %s" %
- (distribution, version))
def write(self) -> None:
self.write_config()