[kernel] r9987 - in dists/trunk/redhat-cluster/redhat-cluster/debian: . patches

Frederik Schüler fs at alioth.debian.org
Wed Dec 19 20:47:11 UTC 2007


Author: fs
Date: Wed Dec 19 20:47:11 2007
New Revision: 9987

Log:
Handle nostrip option during *.lcrso object installation


Modified:
   dists/trunk/redhat-cluster/redhat-cluster/debian/patches/04_fix-lcrso-file-permissions.dpatch
   dists/trunk/redhat-cluster/redhat-cluster/debian/rules

Modified: dists/trunk/redhat-cluster/redhat-cluster/debian/patches/04_fix-lcrso-file-permissions.dpatch
==============================================================================
--- dists/trunk/redhat-cluster/redhat-cluster/debian/patches/04_fix-lcrso-file-permissions.dpatch	(original)
+++ dists/trunk/redhat-cluster/redhat-cluster/debian/patches/04_fix-lcrso-file-permissions.dpatch	Wed Dec 19 20:47:11 2007
@@ -12,7 +12,7 @@
  install: all
  	install -d ${libexecdir}/lcrso
 -	install -s ${TARGET} ${libexecdir}/lcrso
-+	install -s -m 644 ${TARGET} ${libexecdir}/lcrso
++	install -m 644 ${TARGET} ${libexecdir}/lcrso
  
  uninstall:
  	rm -f ${libexecdir}/lcrso/${TARGET}

Modified: dists/trunk/redhat-cluster/redhat-cluster/debian/rules
==============================================================================
--- dists/trunk/redhat-cluster/redhat-cluster/debian/rules	(original)
+++ dists/trunk/redhat-cluster/redhat-cluster/debian/rules	Wed Dec 19 20:47:11 2007
@@ -107,6 +107,9 @@
 	dh_testdir
 	dh_testroot
 	dh_strip -a
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/cman/usr/lib/openais/lcrso/service_cman.lcrso
+endif
 	dh_compress -a
 	dh_fixperms -a
 	dh_installdeb -a



More information about the Kernel-svn-changes mailing list