[Pkg-ganeti-devel] [SCM] Ganeti packaging branch, master, updated. debian/1.2.7-1-10-ga4eec3f

Iustin Pop iusty at k1024.org
Mon Jul 13 19:32:10 UTC 2009


The following commit has been merged in the master branch:
commit cbd5d15391bb3f05d0ff87e4f7a5c57f202d9042
Author: Iustin Pop <iusty at k1024.org>
Date:   Mon Jul 13 21:16:20 2009 +0200

    Reorder the dh_pysupport/dh_installinit
    
    Since the daemons need at startup the python modules, we need to run
    dh_pysupport first so its snippet is first in postinst.

diff --git a/debian/rules b/debian/rules
index 64b24b7..587e70e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,6 +72,9 @@ binary-indep: build install
 #	dh_installcatalogs
 #	dh_installpam
 #	dh_installmime
+# Note: dh_pysupport *must* be before dh_installinit, since the daemons
+# need the python modules as installed by pysupport
+	dh_pysupport
 	dh_installinit --name=ganeti --error-handler=true -- defaults 20 80
 	dh_installcron --name=ganeti
 #	dh_installinfo
@@ -85,7 +88,6 @@ binary-indep: build install
 	dh_compress
 	dh_fixperms
 #	dh_perl
-	dh_pysupport
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums

-- 
Ganeti packaging



More information about the Pkg-ganeti-devel mailing list