* debian/control: Replace obsolete Python2 version header with
X-Python3-Version.
* dracut: Fix path to systemd-fsck. (Closes: #787553)
+ * Ignore test failures during build if /etc/machine-id is missing (which is
+ the case in a few buildd chroots still). (Closes: #787258)
-- Martin Pitt <mpitt@debian.org> Wed, 03 Jun 2015 08:23:26 +0200
override_dh_strip:
dh_strip --dbg-package=systemd-dbg
-# on the mipsel buildds we get some test failures which aren't reproducible on
-# the porter box (https://bugs.debian.org/787258)
+# tests require /etc/machine-id to be present
override_dh_auto_test:
ifeq (, $(findstring nocheck, $(DEB_BUILD_OPTIONS)))
# some tests hang under fakeroot, so disable fakeroot
env -u LD_PRELOAD make -C build-deb check || ( \
cd build-deb; \
for f in test-*.log; do echo "==== $$f ===="; cat $$f; done; \
- [ "$(dpkg --print-architecture)" = "mipsel" ] || exit 1; )
+ if [ ! -e /etc/machine-id ]; then echo "/etc/machine-id missing, ignoring test failures"; else exit 1; fi; )
endif
%: