File multipath-tools-copy-persistent-bindings-to-initrd of Package multipath-tools

commit 7697b52a5bbb13e351622e28c29493dedb9e93a1
Author: Hannes Reinecke <hare@suse.de>
Date:   Tue Feb 3 11:19:34 2009 +0100

    Copy persistent bindings into initrd
    
    We have to create the directory for the persistent bindings
    in the initramfs first to be able to copy the file over.
    
    References: 468804
    
    Signed-off-by: Hannes Reinecke <hare@suse.de>

diff --git a/multipath/setup-multipath.sh b/multipath/setup-multipath.sh
index bb9b244..b27acb7 100644
--- a/multipath/setup-multipath.sh
+++ b/multipath/setup-multipath.sh
@@ -28,7 +28,7 @@ if use_script multipath; then
 	cp -a /etc/multipath.conf $tmp_mnt/etc
     fi
     if [ -f /var/lib/multipath/bindings ] ; then
-	mkdir -p /var/lib/multipath
+	mkdir -p $tmp_mnt/var/lib/multipath
 	cp -a /var/lib/multipath/bindings $tmp_mnt/var/lib/multipath
     fi
     if [ -e /etc/udev/rules.d/71-multipath.rules ]; then
openSUSE Build Service is sponsored by