commit device-mapper for openSUSE:Factory
Hello community, here is the log from the commit of package device-mapper for openSUSE:Factory checked in at Fri May 28 17:20:18 CEST 2010. -------- --- device-mapper/device-mapper.changes 2010-04-26 16:52:50.000000000 +0200 +++ device-mapper/device-mapper.changes 2010-05-21 05:45:41.000000000 +0200 @@ -1,0 +2,5 @@ +Fri May 21 03:40:34 UTC 2010 - xwhu@novell.com + +- Fix mkinitrd-devmapper to use udev rules for device mapper + +------------------------------------------------------------------- --- device-mapper/lvm2.changes 2010-04-26 16:52:53.000000000 +0200 +++ device-mapper/lvm2.changes 2010-05-21 05:45:45.000000000 +0200 @@ -1,0 +2,5 @@ +Fri May 21 03:41:47 UTC 2010 - xwhu@novell.com + +- Fix mkinitrd-lvm2 to use udev rules for lvm2 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ device-mapper.spec ++++++ --- /var/tmp/diff_new_pack.gTbh5Z/_old 2010-05-28 17:19:03.000000000 +0200 +++ /var/tmp/diff_new_pack.gTbh5Z/_new 2010-05-28 17:19:03.000000000 +0200 @@ -27,7 +27,7 @@ %endif # Version: 1.02.42 -Release: 2 +Release: 3 Summary: Device Mapper Tools Source: LVM2.2.02.58.tgz Source1: boot.device-mapper ++++++ lvm2-clvm.spec ++++++ --- /var/tmp/diff_new_pack.gTbh5Z/_old 2010-05-28 17:19:03.000000000 +0200 +++ /var/tmp/diff_new_pack.gTbh5Z/_new 2010-05-28 17:19:03.000000000 +0200 @@ -24,7 +24,7 @@ License: GPLv2+ ; LGPLv2.1+ Group: System/Base Version: 2.02.58 -Release: 2 +Release: 3 Requires: device-mapper >= 1.02.25 lvm2 = %{version} openais Provides: clvm PreReq: %fillup_prereq %insserv_prereq ++++++ lvm2.spec ++++++ --- /var/tmp/diff_new_pack.gTbh5Z/_old 2010-05-28 17:19:03.000000000 +0200 +++ /var/tmp/diff_new_pack.gTbh5Z/_new 2010-05-28 17:19:03.000000000 +0200 @@ -28,7 +28,7 @@ PreReq: %fillup_prereq %insserv_prereq AutoReqProv: on Version: 2.02.58 -Release: 2 +Release: 3 Summary: LVM2 Tools Source: LVM2.%{version}.tgz Source1: lvm.conf ++++++ mkinitrd-devmapper-setup.sh ++++++ --- /var/tmp/diff_new_pack.gTbh5Z/_old 2010-05-28 17:19:03.000000000 +0200 +++ /var/tmp/diff_new_pack.gTbh5Z/_new 2010-05-28 17:19:03.000000000 +0200 @@ -30,5 +30,9 @@ # include dm block var from sysconfig mkdir -p etc/sysconfig grep DM_BLOCK /etc/sysconfig/kernel > etc/sysconfig/kernel + mkdir -p lib/udev/rules.d + cp /lib/udev/rules.d/10-dm.rules lib/udev/rules.d + cp /lib/udev/rules.d/13-dm-disk.rules lib/udev/rules.d + cp /lib/udev/rules.d/95-dm-notify.rules lib/udev/rules.d save_var root_dm fi ++++++ mkinitrd-lvm2-setup.sh ++++++ --- /var/tmp/diff_new_pack.gTbh5Z/_old 2010-05-28 17:19:03.000000000 +0200 +++ /var/tmp/diff_new_pack.gTbh5Z/_new 2010-05-28 17:19:03.000000000 +0200 @@ -41,6 +41,7 @@ cp -a /etc/sysconfig/lvm $tmp_mnt/etc/sysconfig/ # udev rule for lvm2 mkdir -p $tmp_mnt/lib/udev/rules.d + cp /lib/udev/rules.d/11-dm-lvm.rules $tmp_mnt/lib/udev/rules.d/ if [ -e /lib/udev/rules.d/64-lvm2.rules ]; then cp /lib/udev/rules.d/64-lvm2.rules $tmp_mnt/lib/udev/rules.d/ fi ++++++ udev-rules_update.diff ++++++ --- /var/tmp/diff_new_pack.gTbh5Z/_old 2010-05-28 17:19:03.000000000 +0200 +++ /var/tmp/diff_new_pack.gTbh5Z/_new 2010-05-28 17:19:03.000000000 +0200 @@ -1,8 +1,20 @@ Index: LVM2.2.02.58/udev/10-dm.rules.in =================================================================== ---- LVM2.2.02.58.orig/udev/10-dm.rules.in 2009-12-07 20:03:47.000000000 +0800 -+++ LVM2.2.02.58/udev/10-dm.rules.in 2010-02-04 14:55:45.000000000 +0800 -@@ -62,6 +62,10 @@ +--- LVM2.2.02.58.orig/udev/10-dm.rules.in 2010-05-20 11:35:21.000000000 +0800 ++++ LVM2.2.02.58/udev/10-dm.rules.in 2010-05-20 12:18:01.000000000 +0800 +@@ -49,7 +49,10 @@ + # recognize this and do our actions in this particular + # situation, too. Also, we don't want the nodes to be + # created prematurely on "add" events while not coldplugging. +-ACTION=="add", ENV{STARTUP}!="1", NAME="", GOTO="dm_end" ++## Kay pointed out that the STARTUP flag is not reliable, ++## we should avoid using that at all ++## We actually don't care about that ++#ACTION=="add", ENV{STARTUP}!="1", NAME="", GOTO="dm_end" + + # "dm" sysfs subdirectory is available in newer versions of DM + # only (kernels >= 2.6.29). We have to check for its existence +@@ -62,6 +65,10 @@ TEST!="dm", IMPORT{program}="$env{DM_SBIN_PATH}/dmsetup info -j %M -m %m -c --nameprefixes --noheadings --rows -o name,uuid,suspended" ENV{DM_SUSPENDED}!="?*", IMPORT{program}="$env{DM_SBIN_PATH}/dmsetup info -j %M -m %m -c --nameprefixes --noheadings --rows -o suspended" @@ -15,8 +27,8 @@ # 0/1 respectively to be consistent with sysfs values. Index: LVM2.2.02.58/udev/13-dm-disk.rules =================================================================== ---- LVM2.2.02.58.orig/udev/13-dm-disk.rules 2009-11-13 20:33:27.000000000 +0800 -+++ LVM2.2.02.58/udev/13-dm-disk.rules 2010-02-04 14:59:09.000000000 +0800 +--- LVM2.2.02.58.orig/udev/13-dm-disk.rules 2010-05-20 11:35:21.000000000 +0800 ++++ LVM2.2.02.58/udev/13-dm-disk.rules 2010-05-20 11:36:04.000000000 +0800 @@ -14,13 +14,16 @@ ENV{DM_UDEV_RULES_VSN}!="?*", GOTO="dm_end" ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="dm_end" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de