Updated patch attached as I missed to "autoreconf" in the former patch.
I stripped it down to the minimal update.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/
diff -Nru cdebootstrap-0.6.3/debian/changelog 
cdebootstrap-0.6.3+nmu1/debian/changelog
--- cdebootstrap-0.6.3/debian/changelog 2014-07-31 20:49:16.000000000 +0200
+++ cdebootstrap-0.6.3+nmu1/debian/changelog    2014-11-08 09:22:17.000000000 
+0100
@@ -1,3 +1,12 @@
+cdebootstrap (0.6.3+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Restore ability to debootstrap old Debian releases like lenny/etch where
+    dpkg doesn't know xz compressed data.tar by ensuring the shipped .deb
+    are built with -Zgzip.
+
+ -- Raphaël Hertzog <[email protected]>  Sat, 08 Nov 2014 09:21:22 +0100
+
 cdebootstrap (0.6.3) unstable; urgency=medium
 
   * Make all mounts private, so that we don't leak mounts.
diff -Nru cdebootstrap-0.6.3/helper/Makefile.am 
cdebootstrap-0.6.3+nmu1/helper/Makefile.am
--- cdebootstrap-0.6.3/helper/Makefile.am       2012-05-17 23:15:04.000000000 
+0200
+++ cdebootstrap-0.6.3+nmu1/helper/Makefile.am  2014-11-08 09:23:37.000000000 
+0100
@@ -24,7 +24,7 @@
        $(MAKE) -C $(PACKAGE) package DESTDIR=$(CURDIR)/temp-$(PACKAGE)
 
 root-%:
-       dpkg-deb --build temp-$(PACKAGE) $(PACKAGE).deb
+       dpkg-deb -Zgzip --build temp-$(PACKAGE) $(PACKAGE).deb
 
 clean-local:
        rm -rf $(foreach package,$(packages),temp-$(package))
diff -Nru cdebootstrap-0.6.3/helper/Makefile.in 
cdebootstrap-0.6.3+nmu1/helper/Makefile.in
--- cdebootstrap-0.6.3/helper/Makefile.in       2014-07-31 20:18:21.000000000 
+0200
+++ cdebootstrap-0.6.3+nmu1/helper/Makefile.in  2014-11-08 10:21:11.000000000 
+0100
@@ -603,7 +603,7 @@
        $(MAKE) -C $(PACKAGE) package DESTDIR=$(CURDIR)/temp-$(PACKAGE)
 
 root-%:
-       dpkg-deb --build temp-$(PACKAGE) $(PACKAGE).deb
+       dpkg-deb -Zgzip --build temp-$(PACKAGE) $(PACKAGE).deb
 
 clean-local:
        rm -rf $(foreach package,$(packages),temp-$(package))

Reply via email to