Skip to content

Commit c87933b

Browse files
authored
Changes for building dpks (#1269)
1 parent d2278ce commit c87933b

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

l2tdevtools/build_helpers/dpkg.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,8 +920,11 @@ def Build(self, source_helper_object):
920920

921921
# dpkg-buildpackage wants an source package filename without
922922
# the status indication and orig indication.
923+
924+
# Note that we need to pass the original project name to
925+
# _CreateOriginalSourcePackage.
923926
self._CreateOriginalSourcePackage(
924-
source_package_path, project_name, project_version)
927+
source_package_path, source_helper_object.project_name, project_version)
925928

926929
source_package_filename = source_helper_object.GetSourcePackageFilename()
927930
logging.info(f'Building deb of: {source_package_filename:s}')
@@ -1073,6 +1076,8 @@ def Build(self, source_helper_object):
10731076
project_name, project_version = self._GetFilenameSafeProjectInformation(
10741077
source_helper_object)
10751078

1079+
# Note that we need to pass the original project name to
1080+
# _CreateOriginalSourcePackage.
10761081
self._CreateOriginalSourcePackage(
10771082
source_package_path, source_helper_object.project_name, project_version)
10781083

tests/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class GithubRepoDownloadHelperTest(test_lib.BaseTestCase):
1919
_DOWNLOAD_URL = 'https://github.com/ForensicArtifacts/artifacts/releases'
2020

2121
_PROJECT_NAME = 'artifacts'
22-
_PROJECT_VERSION = '20260411'
22+
_PROJECT_VERSION = '20260421'
2323

2424
def testGetPackageDownloadURLs(self):
2525
"""Tests the GetPackageDownloadURLs function."""

0 commit comments

Comments
 (0)