[Pkg-xen-devel] [Xen-devel] RFS: xen-qemu-dm (new package)

Samuel Thibault sthibault at debian.org
Tue Jan 19 18:58:16 UTC 2010


Thomas Goirand, le Wed 20 Jan 2010 02:38:19 +0800, a écrit :
> If you have a look at the one but the least line in debian/rules, you have:
> 
> binary: binary-indep binary-arch
> 
> Am I still missing something here or... ?

The fact that dpkg-buildpackage -B doesn't use binary, but only
binary-arch. That's one of the points of -B: only generate arch-specific
packages, not arch-indep packages.

Really, did you try a fresh unpack of your package and run
dpkg-buildpackage -B
?

Here it builds everything, sure, but in the end it realizes it didn't
actual build any .deb:

 dpkg-genchanges -B >../xen-qemu-dm-3.4_3.4.2-1_amd64.changes
dpkg-genchanges: arch-specific upload - not including arch-independent packages

Really, apply the attached patch.

Samuel
-------------- next part --------------
--- debian/rules.orig	2010-01-19 19:57:07.000000000 +0100
+++ debian/rules	2010-01-19 19:57:21.000000000 +0100
@@ -58,7 +58,7 @@
 
 	# $(MAKE) install DESTDIR=debian/$(PKG_NAME)$(XEN_FOLDER)
 
-binary-indep: $(STAMPS_DIR)/install
+binary-arch: $(STAMPS_DIR)/install
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs Changelog
@@ -73,7 +73,7 @@
 	dh_md5sums
 	dh_builddeb
 
-binary-arch: $(STAMPS_DIR)/install
+binary-indep: $(STAMPS_DIR)/install
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install


More information about the Pkg-xen-devel mailing list