This is a workaround for #534565 which has been fixed
in debhelper 7.2.19, but that version is not available in lenny.

The problem is that if --sourcedir is specified and a file
is a dangling symlink then the file in installed into a bogus directory.

This etc/ha.d/resource.d/ldirectord

Signed-off-by: Simon Horman <[email protected]>

Index: cluster-agents-1.0.really.1.0.2.rc1/debian/rules
===================================================================
--- cluster-agents-1.0.really.1.0.2.rc1.orig/debian/rules       2010-02-04 
22:48:26.000000000 +0900
+++ cluster-agents-1.0.really.1.0.2.rc1/debian/rules    2010-02-04 
22:48:38.000000000 +0900
@@ -66,7 +66,7 @@ install-arch:
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
 binary-common:
-       dh_install --source=$(CURDIR)/debian/tmp --list-missing
+       dh_install --list-missing
        dh_testdir
        dh_testroot
        dh_installdocs

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to