[PKG-Openstack-devel] Bug#776216: build-openstack-debian-image exits 0 in error cases

Steve McIntyre steve at einval.com
Sun Jan 25 16:25:11 UTC 2015


Package: openstack-debian-images
Version: 1.1
Severity: normal
Tags: patch

Hi folks,

Spending some time to integrate the openstack builds on cdimage.d.o,
I'm getting errors at the end of the build (see later bug report for
that). Annoyingly, the build-openstack-debian-image script exits 0 on
failure, which makes it difficult for automated callers to know it's
failed.

Here's a trivial patch to fix that.

-- System Information:
Debian Release: 7.8
  APT prefers stable
  APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error-exit.diff
Type: text/x-diff
Size: 554 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20150125/4876f7fd/attachment.diff>


More information about the Openstack-devel mailing list