[Pkg-xen-devel] Bug#384739: ImportError: No module named xen.xend.server

Steve Langasek vorlon at debian.org
Thu Aug 31 03:03:56 UTC 2006


tags 384739 patch
thanks

Thanks to Nicolas for the hint -- here is a patch that fixes the problem,
all it takes is switching the order in which dh_pycentral/dh_installinit are
called when building.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
diff -u xen-3.0-3.0.2+hg9697/debian/changelog xen-3.0-3.0.2+hg9697/debian/changelog
--- xen-3.0-3.0.2+hg9697/debian/changelog
+++ xen-3.0-3.0.2+hg9697/debian/changelog
@@ -1,3 +1,13 @@
+xen-3.0 (3.0.2+hg9697-2.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for RC bugfix.
+  * Switch the order of dh_python/dh_pycentral and dh_installinit in 
+    debian/rules, so that the python modules are available when the 
+    postinst tries to start the init script.  Closes: #384739.
+
+ -- Steve Langasek <vorlon at debian.org>  Wed, 30 Aug 2006 18:37:54 -0700
+
 xen-3.0 (3.0.2+hg9697-2) unstable; urgency=low
 
   [ Guido Trotter ]
diff -u xen-3.0-3.0.2+hg9697/debian/rules xen-3.0-3.0.2+hg9697/debian/rules
--- xen-3.0-3.0.2+hg9697/debian/rules
+++ xen-3.0-3.0.2+hg9697/debian/rules
@@ -174,6 +174,8 @@
 	dh_installchangelogs -s
 	dh_installdocs -s
 	dh_installexamples -s
+	dh_pycentral -s
+	dh_python -s
 	dh_installinit -p xen-utils-$(MAJOR) --name xend -- defaults 20 21
 	dh_installinit -p xen-utils-$(MAJOR) --name xendomains --no-restart-on-upgrade -- defaults 21 20
 	dh_installman -s
@@ -181,8 +183,6 @@
 	dh_strip -s
 	dh_compress -s
 	dh_fixperms -s
-	dh_pycentral -s
-	dh_python -s
 	dh_makeshlibs -s
 	dh_installdeb -s
 	dh_shlibdeps -s


More information about the Pkg-xen-devel mailing list