Package: dmsetup-udeb Version: 2:1.02.27-4 Severity: normal Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu ubuntu-patch jaunty
In devmapper 2:1.02.27-2 you added udev rules to dmsetup, but not to dmsetup-udeb. This produces some odd effects, since device names now differ between the installer and the installed system (in Ubuntu this resulted in LVM installations having root=/dev/dm-0 and having UUID conversion incorrectly applied in grub as a result; the latter won't happen in Debian but I suspect root=/dev/dm-0 is not a great idea anyway when better /dev/mapper/ names are available). The attached patch fixes this. -- Colin Watson [EMAIL PROTECTED]
diff -u devmapper-1.02.27/debian/rules devmapper-1.02.27/debian/rules --- devmapper-1.02.27/debian/rules +++ devmapper-1.02.27/debian/rules @@ -100,6 +100,7 @@ dh_testdir rm -rf $(BUILD_DIR) $(STAMPS_DIR) dh_clean + rm -f debian/dmsetup-udeb.udev install: install-deb install-udeb @@ -134,8 +135,10 @@ dh_testroot dh_clean -k $(MAKE) -C $(DIR) install DESTDIR=$(CURDIR)/$(INSTALL_DIR) LIB_VERSION=$(LIBDEVMAPPER_ABINAME) + cp -a debian/dmsetup.udev debian/dmsetup-udeb.udev dh_install --sourcedir=$(INSTALL_DIR) dh_installdocs + dh_installudev --priority=65 dh_strip dh_compress dh_fixperms