aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2019-01-09 16:50:21 -0800
committerMartin Braun <martin.braun@ettus.com>2019-01-09 17:48:13 -0800
commit0e541ed60b0aca9916bac3ab7274d1d44438e2dd (patch)
tree244c095e5a43a9c42ffb9b559c7c8b1177c664b9 /tools
parenta34e86e2b6ec332fc0275997b4db76dd0aef378a (diff)
downloaduhd-0e541ed60b0aca9916bac3ab7274d1d44438e2dd.tar.gz
uhd-0e541ed60b0aca9916bac3ab7274d1d44438e2dd.tar.bz2
uhd-0e541ed60b0aca9916bac3ab7274d1d44438e2dd.zip
Debian: Minor change to convert_changelog.py
- Change "trusty" to a more generic "ubuntu_release" placeholder
Diffstat (limited to 'tools')
-rwxr-xr-xtools/debs/convert_changelog.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/debs/convert_changelog.py b/tools/debs/convert_changelog.py
index 1ea486881..b2a66228d 100755
--- a/tools/debs/convert_changelog.py
+++ b/tools/debs/convert_changelog.py
@@ -40,12 +40,8 @@ def convert_version_string(version, to_debian=True):
else:
return "## {0}".format(".".join("{0:03d}".format(int(num)) for num in version.split(".")))
-#
-# The "trusty" string below doesn't need to be changed, even when Trusty loses support. The script
-# to upload packages replaces it anyway.
-#
def get_header(version):
- return "uhd ({0}-0ubuntu1) trusty; urgency=low\n\n".format(convert_version_string(version))
+ return "uhd ({0}-0ubuntu1) ubuntu_release; urgency=low\n\n".format(convert_version_string(version))
def get_footer(uploader_name, uploader_email):
return " -- {0} <{1}> {2}\n\n".format(uploader_name, uploader_email, datetime.datetime.now().strftime("%a, %d %b %Y %I:%M:%S %Z-0800"))