diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:53:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:53:01 +0000 |
commit | 8949ab82bb0d35f1cfc122b242a0cfef8fbd1156 (patch) | |
tree | 3a4e8403474ad45fe3da7fcd6fb2c6ec4af35d48 | |
parent | Building without lsb-release. (diff) | |
download | linux-8949ab82bb0d35f1cfc122b242a0cfef8fbd1156.tar.xz linux-8949ab82bb0d35f1cfc122b242a0cfef8fbd1156.zip |
Building without distribution version checks in gencontrol.py.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-x | debian/bin/gencontrol.py | 19 |
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() |