Bug#491203: lvm2: Compiled with readline support for the udeb, breaks D-I

Frans Pop elendil at planet.nl
Thu Jul 17 15:43:53 UTC 2008


Package: lvm2
Version: 2.02.39-1
Severity: serious
Tags: d-i patch

It seems that the default setting for compiling with libreadline support 
has changed, which means that the udeb now depends libreadline for which 
no udeb exists.

The patch below brings things back to the old situation.

diff -u lvm2-2.02.39/debian/rules lvm2-2.02.39/debian/rules
--- lvm2-2.02.39/debian/rules
+++ lvm2-2.02.39/debian/rules
@@ -76,7 +76,8 @@
 		$(CONFIGURE_FLAGS) \
 		--with-optimisation="" \
 		--with-lvm1=none \
-		--with-pool=none
+		--with-pool=none \
+		--disable-readline
 	touch $@
 
 build: setup $(STAMPS_DIR)/build-deb $(STAMPS_DIR)/build-udeb

This results in:
DebDiff for lvm2-udeb_2.02.39-1_i386.udeb and 
lvm2-udeb_2.02.39-2_i386.udeb:
File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)
------------------------------------------------
Depends: libc6-udeb (>= 2.7-1), libdevmapper1.02.1-udeb (>= [-2:1.02.27), 
libreadline5 (>= 5.2)-] {+2:1.02.27)+}
Installed-Size: [-484-] {+480+}
Version: [-2.02.39-1-] {+2.02.39-2+}

Cheers,
FJP





More information about the pkg-lvm-maintainers mailing list