[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 4/7] Add /lib/ld.so and /servers/exec to Hurd initrd's.



On Mon, Aug 16, 2010 at 01:20:23PM +0200, Jeremie Koenig wrote:
> 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
> +

Why do you ignore failures of this command?  It's generally better to check
for the specific error you think is ignorable, rather than ignoring all
errors.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: