debian/rules: Entirely ignore $LD_PRELOAD instead of just libfakeroot in the link check

To also avoid libeatmydata.

Closes: #790546
This commit is contained in:
Martin Pitt 2015-06-30 06:46:28 +02:00
parent 4955cf66c4
commit 39c2fc412d
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View File

@ -10,6 +10,8 @@ systemd (221-2) UNRELEASED; urgency=medium
* udev: Drop doc dir symlinking. It has caused too much trouble and only
marginally helps to avoid duplication. Such duplication should be dealt
with at the distro, not package level.
* debian/rules: Entirely ignore $LD_PRELOAD instead of just libfakeroot in
the link check, to also avoid libeatmydata. (Closes: #790546)
-- Martin Pitt <mpitt@debian.org> Mon, 29 Jun 2015 07:42:50 +0200

2
debian/rules vendored
View File

@ -112,7 +112,7 @@ ifeq (, $(findstring nocheck, $(DEB_BUILD_OPTIONS)))
echo "Checking that executables don't link to libraries in /usr..."
set -e; for e in debian/install/deb/lib/systemd/systemd*; do \
echo " $$e"; \
OUT=`ldd $$e | grep -v libfakeroot`; if echo "$$OUT" | grep -q /usr; then \
OUT=`env -u LD_PRELOAD ldd $$e`; if echo "$$OUT" | grep -q /usr; then \
echo "ERROR: $$e links to /usr"; echo "$$OUT"; exit 1; \
fi; \
done