Author: winnie
Date: Tue Mar 25 11:23:15 2008
New Revision: 462

URL: http://svn.debian.org/wsvn/pkg-lustre/?sc=1&rev=462
Log:
Install init.d files correctly using dh_install and dh_installinit

Modified:
    utils/lmt/trunk/debian/control
    utils/lmt/trunk/debian/lmt-server-agent.install
    utils/lmt/trunk/debian/lmt-server.install
    utils/lmt/trunk/debian/rules

Modified: utils/lmt/trunk/debian/control
URL: 
http://svn.debian.org/wsvn/pkg-lustre/utils/lmt/trunk/debian/control?rev=462&op=diff
==============================================================================
--- utils/lmt/trunk/debian/control (original)
+++ utils/lmt/trunk/debian/control Tue Mar 25 11:23:15 2008
@@ -8,14 +8,14 @@
 Homepage: http://sourceforge.net/projects/lmt/
 
 Package: lwatch-lustre
-Architecture: any
+Architecture: i386 amd64
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: lustre monitoring tool - frontend
  Some description here...
 
 
 Package: lmt-server
-Architecture: any
+Architecture: i386 amd64
 XB-Python-Version: ${python:Versions}
 Provides: ${python:Provides}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
@@ -24,7 +24,7 @@
 
 
 Package: lmt-server-agent
-Architecture: any
+Architecture: i386 amd64
 XB-Python-Version: ${python:Versions}
 Provides: ${python:Provides}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}

Modified: utils/lmt/trunk/debian/lmt-server-agent.install
URL: 
http://svn.debian.org/wsvn/pkg-lustre/utils/lmt/trunk/debian/lmt-server-agent.install?rev=462&op=diff
==============================================================================
--- utils/lmt/trunk/debian/lmt-server-agent.install (original)
+++ utils/lmt/trunk/debian/lmt-server-agent.install Tue Mar 25 11:23:15 2008
@@ -2,3 +2,6 @@
 server/src/ostusage usr/bin/
 server/src/lmtd usr/sbin/
 server/src/lmtcollect usr/sbin/
+server/src/init/lmtcollect etc/init.d/
+server/src/init/lmtd etc/init.d/
+

Modified: utils/lmt/trunk/debian/lmt-server.install
URL: 
http://svn.debian.org/wsvn/pkg-lustre/utils/lmt/trunk/debian/lmt-server.install?rev=462&op=diff
==============================================================================
--- utils/lmt/trunk/debian/lmt-server.install (original)
+++ utils/lmt/trunk/debian/lmt-server.install Tue Mar 25 11:23:15 2008
@@ -9,3 +9,5 @@
 server/lib/perl/LMT.pm usr/share/perl/lmt/
 server/cron/lmtrc usr/share/lmt/cron/
 server/cron/lmt_agg.cron usr/share/lmt/cron/
+server/src/init/lmtupdatedb etc/init.d/
+

Modified: utils/lmt/trunk/debian/rules
URL: 
http://svn.debian.org/wsvn/pkg-lustre/utils/lmt/trunk/debian/rules?rev=462&op=diff
==============================================================================
--- utils/lmt/trunk/debian/rules (original)
+++ utils/lmt/trunk/debian/rules Tue Mar 25 11:23:15 2008
@@ -42,6 +42,7 @@
        $(MAKE) clean
        rm -f client/config.status
        rm -f client/config.log
+       rm -f INSTALLED_FILES*
 
        dh_clean 
 
@@ -63,18 +64,16 @@
        dh_installdocs
        dh_installexamples
        dh_install
+       #Remove language extensions
        mv $(CURDIR)/debian/lmt-server/usr/sbin/create_lmtconfig.pl 
$(CURDIR)/debian/lmt-server/usr/sbin/create_lmtconfig
        mv $(CURDIR)/debian/lmt-server/usr/sbin/lmt_agg.sh 
$(CURDIR)/debian/lmt-server/usr/sbin/lmt_agg
+       /bin/bash $(CURDIR)/scripts/install-lmt-server.sh 
$(CURDIR)/debian/lmt-server-agent/
        dh_installmenu
-#      dh_installdebconf       
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
        dh_pysupport
-       dh_installinit
+       dh_installinit -plmt-server --name=lmtupdatedb -o
+       dh_installinit -plmt-server-agent --name=lmtcollect -o
+       dh_installinit -plmt-server-agent --name=lmtd -o
        dh_installcron
-#      dh_installinfo
        dh_installman
        dh_link
        dh_strip


_______________________________________________
Pkg-lustre-svn-commit mailing list
Pkg-lustre-svn-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-lustre-svn-commit

Reply via email to