diff --git a/debian/rules b/debian/rules index b2bb2b424..5c735da87 100755 --- a/debian/rules +++ b/debian/rules @@ -319,20 +319,6 @@ ifeq ($(DEB_VENDOR),Ubuntu) install --mode=755 debian/extra/set-cpufreq debian/systemd/lib/systemd/ endif -ifeq ($(TEST_UPSTREAM),) -ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS))) - echo "Checking that executables don't link to libraries in /usr..." - set -e; for e in $(patsubst %,debian/systemd/lib/systemd/%,systemd systemd-cgroups-agent systemd-cryptsetup systemd-journald systemd-shutdown) \ - debian/systemd/lib/systemd/system-generators/* \ - debian/udev/lib/systemd/systemd*; do \ - echo " $$e"; \ - OUT=`env -u LD_PRELOAD ldd $$e` || continue; if echo "$$OUT" | grep -q /usr; then \ - echo "ERROR: $$e links to /usr"; echo "$$OUT"; exit 1; \ - fi; \ - done -endif -endif - override_dh_installinit: dh_installinit --no-start # the following are only upstart jobs