summaryrefslogtreecommitdiffstats
path: root/.travis/package_management
diff options
context:
space:
mode:
Diffstat (limited to '.travis/package_management')
-rwxr-xr-x.travis/package_management/common.py2
-rw-r--r--.travis/package_management/functions.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis/package_management/common.py b/.travis/package_management/common.py
index 7999d8be25..61cf358737 100755
--- a/.travis/package_management/common.py
+++ b/.travis/package_management/common.py
@@ -51,7 +51,7 @@ def replace_tag(tag_name, spec, new_tag_content):
def run_command(container, command):
print("Running command: %s" % command)
- command_result = container.attach_wait(lxc.attach_run_command, command)
+ command_result = container.attach_wait(lxc.attach_run_command, command, stdout=sys.stdout.buffer, stderr=sys.stdout.buffer)
if command_result != 0:
raise Exception("Command failed with exit code %d" % command_result)
diff --git a/.travis/package_management/functions.sh b/.travis/package_management/functions.sh
index 0c4425fa50..0c00d2fcb2 100644
--- a/.travis/package_management/functions.sh
+++ b/.travis/package_management/functions.sh
@@ -24,8 +24,8 @@ function detect_arch_from_commit {
;;
*)
- echo "Unknown build architecture in '${TRAVIS_COMMIT_MESSAGE}'. No BUILD_ARCH can be provided"
- exit 1
+ echo "Unknown build architecture in '${TRAVIS_COMMIT_MESSAGE}'. Assuming amd64"
+ export BUILD_ARCH="amd64"
;;
esac