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