summaryrefslogtreecommitdiff
path: root/scripts/build-packages
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-22 16:07:13 +0100
committerGitHub <noreply@github.com>2020-03-22 16:07:13 +0100
commit9a94f97b5203be7b55f6127904d76076c6795ce7 (patch)
tree3ccfd93925a3e74c5d8ddd467fe54c4d3a69d26f /scripts/build-packages
parent48057eab11004383a97d08e8df2ae6795cf2a6d1 (diff)
parentba348cc7b37380e48e16ff2c084e365432af481b (diff)
downloadvyos-build-9a94f97b5203be7b55f6127904d76076c6795ce7.tar.gz
vyos-build-9a94f97b5203be7b55f6127904d76076c6795ce7.zip
Merge pull request #91 from jjakob/fix-build-packages
T2085: scripts/build-packages: don't define commit='HEAD' by default
Diffstat (limited to 'scripts/build-packages')
-rwxr-xr-xscripts/build-packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-packages b/scripts/build-packages
index dd812d39..d7c06b4c 100755
--- a/scripts/build-packages
+++ b/scripts/build-packages
@@ -11,7 +11,7 @@ current_working_directory = os.getcwd()
repo_root = subprocess.check_output('git rev-parse --show-toplevel', shell=True, universal_newlines=True).rstrip('\n')
repo_sha = subprocess.check_output('git rev-parse --short=12 HEAD', shell=True, universal_newlines=True).rstrip('\n')
-def add_package(name, url=None, commit='HEAD', branch='current', tag=None, shallow=True, custombuild_cmd=None):
+def add_package(name, url=None, commit=None, branch='current', tag=None, shallow=True, custombuild_cmd=None):
"""
Build up source package with URL and build commands executed during the later
called build_package step.