mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-14 09:23:34 +00:00
debian/rules: Drop check for linking to libs in /usr
This was just an approximation, as booting without an initrd could still be broken by library updates (e. g. #828991). With merged /usr now being the default this is now completely moot.
This commit is contained in:
parent
51ca462e96
commit
c7e8a1e9c5
14
debian/rules
vendored
14
debian/rules
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user