To also avoid libeatmydata.
Closes: #790546
* 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
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