summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:14:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:14:39 +0000
commitb1c068738d2e31204e78bcc54e72b4c6f35f5389 (patch)
tree9eedef2078b04553f70576921f6eb9f8d3c0d4d8 /debian
parentBuilding without lsb-release. (diff)
downloadlinux-b1c068738d2e31204e78bcc54e72b4c6f35f5389.tar.xz
linux-b1c068738d2e31204e78bcc54e72b4c6f35f5389.zip
Building without distribution version checks in gencontrol.py.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 325ff46ec..fc95c2abb 100755
--- a/debian/bin/gencontrol.py
+++ b/debian/bin/gencontrol.py
@@ -625,25 +625,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 write(self):
self.write_config()