From 97b3689a1e84befb2323f401c6e5c3fe2db75da5e19a78a657ce0db37cbbe5b8 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 7 Nov 2012 20:06:25 +0000 Subject: [PATCH] one missing $tmp_mnt/ OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=49 --- mkinitrd-devmapper-setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mkinitrd-devmapper-setup.sh b/mkinitrd-devmapper-setup.sh index aef0a90..82f87fe 100644 --- a/mkinitrd-devmapper-setup.sh +++ b/mkinitrd-devmapper-setup.sh @@ -30,9 +30,9 @@ if [ -x /sbin/dmsetup ]; then # include dm block var from sysconfig mkdir -p $tmp_mnt/etc/sysconfig - grep DM_BLOCK /etc/sysconfig/kernel > etc/sysconfig/kernel - 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/ + grep DM_BLOCK /etc/sysconfig/kernel > $tmp_mnt/etc/sysconfig/kernel + 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