Bug#790546: src:systemd: grep -v libeatmydata when check libraries under /usr
Felipe Sateler
fsateler at debian.org
Tue Jun 30 05:05:59 BST 2015
On 30 June 2015 at 00:22, YunQiang Su <wzssyqa at gmail.com> wrote:
> Package: src:systemd
> Version: 221-1
>
> some setup of sbuild may use libeatmydata, fellow instruction:
> https://wiki.debian.org/sbuild#Using_eatmydata_with_sbuild
>
> So please grep -v libeatmydata like libfakeroot.
>
I think it would be better to discard LD_PRELOAD entirely:
diff --git a/debian/rules b/debian/rules
index 46e564e..b492d5b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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=`LD_PRELOAD= ldd $$e`; if echo "$$OUT" | grep -q /usr; then \
echo "ERROR: $$e links to /usr"; echo "$$OUT"; exit 1; \
fi; \
done
--
Saludos,
Felipe Sateler
More information about the Pkg-systemd-maintainers
mailing list