Am 03.07.2014 14:35, schrieb Michael Biebl: > Am 03.07.2014 14:26, schrieb Ansgar Burchardt: > >> Most essential packages should have this problem. I checked bash and it >> indeed has >> >> Pre-Depends: dash (>= 0.5.5.1-2.2), libc6 (>= 2.15), libtinfo5 >> >> which comes from >> >> Pre-Depends: dash (>= 0.5.5.1-2.2), ${shlibs:Pre-Depends}, ${misc:Depends} >> >> which made me find out that dpkg-shlibdeps can be asked to add >> dependencies to Pre-Depends as well. It can even add library >> dependencies for only some executables to Pre-Depends and others to >> Depends by using the -d and -e options. > > That sounds excellent. > Thanks for the hint, Ansgar.
Attached is a proposed patch. The resulting debdiff looks like this: File lists identical (after any substitutions) Control files: lines which differ (wdiff format) ------------------------------------------------ Depends: libacl1 (>= 2.2.51-8), libaudit1 (>= 1:2.2.1), libblkid1 (>= 2.17.2), [-libc6 (>= 2.17),-] libcap2 (>= 2.10), libcryptsetup4 (>= 2:1.4.3), libdbus-1-3 (>= 1.1.1), [-libgcrypt11 (>= 1.5.1),-] libkmod2 (>= 5~), [-liblzma5 (>= 5.1.1alpha+20120614),-] libpam0g (>= 0.99.7.1), libselinux1 (>= 2.1.9), [-libsystemd-daemon0 (= 208-5),-] libsystemd-journal0 (= 208-5), libudev1 (>= 189), libwrap0 (>= 7.6-4~), libsystemd-login0 (= 208-5), util-linux (>= 2.19.1-2), initscripts (>= 2.88dsf-17), sysv-rc, udev, acl, adduser, libcap2-bin {+Pre-Depends: libc6 (>= 2.17), libdbus-1-3 (>= 1.0.2), libgcrypt11 (>= 1.5.1), liblzma5 (>= 5.1.1alpha+20120614), libselinux1 (>= 2.0.65), libsystemd-daemon0 (= 208-5)+} The Pre-Depends list is still a bit long. But I guess there is no way around to it. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
diff --git a/debian/rules b/debian/rules index 794a81a..ea9f491 100755 --- a/debian/rules +++ b/debian/rules @@ -201,6 +201,13 @@ override_dh_installinit: dh_installinit --name=udevmonitor --no-start dh_installinit --name=udev-fallback-graphics --no-start +# the SysV compat tools (which are symlinks to systemctl) are quasi-essential +# so we add the depencencies of systemctl to Pre-Depends +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753589 +override_dh_shlibdeps: + dh_shlibdeps -psystemd -- -dPre-Depends -edebian/systemd/bin/systemctl -dDepends + dh_shlibdeps --remaining-packages + override_dh_makeshlibs: dh_makeshlibs -plibudev1 --add-udeb=libudev1-udeb dh_makeshlibs --remaining-packages
signature.asc
Description: OpenPGP digital signature