From 02cb75281375681948d05fed2aecf88a2333273a85cb35a69d6a0bcdefb9b829 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 7 Nov 2012 20:04:36 +0000 Subject: [PATCH] Accepting request 140266 from home:rwooninck:CK-removal Also fix devmapper-setup OBS-URL: https://build.opensuse.org/request/show/140266 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=48 --- lvm2.changes | 5 +++++ mkinitrd-devmapper-setup.sh | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/lvm2.changes b/lvm2.changes index 62a8b03..e57c595 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 5 21:10:28 UTC 2012 - hrvoje.senjan@gmail.com + +- Now also fix devmapper-setup + ------------------------------------------------------------------- Mon Nov 5 12:08:26 UTC 2012 - hrvoje.senjan@gmail.com diff --git a/mkinitrd-devmapper-setup.sh b/mkinitrd-devmapper-setup.sh index 635d4e4..aef0a90 100644 --- a/mkinitrd-devmapper-setup.sh +++ b/mkinitrd-devmapper-setup.sh @@ -29,12 +29,12 @@ if [ -x /sbin/dmsetup ]; then fi # include dm block var from sysconfig - mkdir -p etc/sysconfig + mkdir -p $tmp_mnt/etc/sysconfig grep DM_BLOCK /etc/sysconfig/kernel > etc/sysconfig/kernel - mkdir -p usr/lib/udev/rules.d - cp usr/lib/udev/rules.d/10-dm.rules usr/lib/udev/rules.d - cp usr/lib/udev/rules.d/13-dm-disk.rules usrlib/udev/rules.d - cp usr/lib/udev/rules.d/95-dm-notify.rules usr/lib/udev/rules.d + mkdir -p $tmp_mnt/usr/lib/udev/rules.d + cp /usr/lib/udev/rules.d/10-dm.rules $tmp_mnt/usr/lib/udev/rules.d/ + cp /usr/lib/udev/rules.d/13-dm-disk.rules $tmp_mnt/usr/lib/udev/rules.d + cp /usr/lib/udev/rules.d/95-dm-notify.rules $tmp_mnt/usr/lib/udev/rules.d save_var root_dm save_var dm_modules fi