The /lib/ld.so symlink is what Hurd binaries use, and points to ld.so.1. The empty /servers/exec file is necessary at boot time, to register the exec server started by Mach as a multiboot module.
Signed-off-by: Jeremie Koenig <j...@jk.fr.eu.org> --- Makefile | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index d873b58..556cbe0 100644 --- a/Makefile +++ b/Makefile @@ -485,6 +485,16 @@ ifndef ONLY_KLIBC $(addprefix -l,$(notdir $(wildcard $(TREE)/usr/lib/cdebconf/frontend/*.so))) \ `find $(TEMP) -type f -a \( -perm +0111 -o -name '*.so' -o -name '*.so.*' \) | \ grep -v udeblibs | grep -v 'usr/lib/xorg/modules/.*\.so'` + +ifeq ($(DEB_HOST_ARCH_OS),hurd) + # On Hurd the SONAME for the dynamic linker is ld.so.1, but binaries + # have the ld.so symlink as the interpreter. Ideally mklibs should + # be copying it along with the libraries. + -ln -s ld.so.1 $(TREE)/lib/ld.so + + # We need /servers/exec at boot time + touch $(TREE)/servers/exec +endif endif # Add missing symlinks for libraries -- 1.7.1 -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1281957626-9626-5-git-send-email...@jk.fr.eu.org