summaryrefslogtreecommitdiffstats
path: root/debian/bin/gencontrol.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 10:09:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 10:09:48 +0000
commitded475183b195d91fba222941f5e5faf255b2b14 (patch)
treea052cd205a1854df05b893b3162d70be429a67f9 /debian/bin/gencontrol.py
parentBuilding without lsb-release. (diff)
downloadlinux-ded475183b195d91fba222941f5e5faf255b2b14.tar.xz
linux-ded475183b195d91fba222941f5e5faf255b2b14.zip
Building without distribution version checks in gencontrol.py.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/bin/gencontrol.py')
-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 8e436b5ed..23b6e9d95 100755
--- a/debian/bin/gencontrol.py
+++ b/debian/bin/gencontrol.py
@@ -689,25 +689,6 @@ class Gencontrol(Base):
+ self.abiname_part)}
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 process_real_image(self, entry, fields, vars):
entry = self.process_package(entry, vars)