diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:08:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:08:25 +0000 |
commit | 974e8cd029332d22cdaca0fcfe48672e49ecd951 (patch) | |
tree | b6d9c03edbefb21f57144837b4f4e96309b5a792 | |
parent | Building without lsb-release. (diff) | |
download | linux-974e8cd029332d22cdaca0fcfe48672e49ecd951.tar.xz linux-974e8cd029332d22cdaca0fcfe48672e49ecd951.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 3df5549cc..de6ba1d1a 100755 --- a/debian/bin/gencontrol.py +++ b/debian/bin/gencontrol.py @@ -642,25 +642,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) |