[PATCH] TMP: grub2-pc-2.00

Michael Shigorin mike на altlinux.org
Вт Окт 30 01:35:42 MSK 2012


---
 alterator-grub/backend3/grub | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alterator-grub/backend3/grub b/alterator-grub/backend3/grub
index 7de018b..2e83d87 100755
--- a/alterator-grub/backend3/grub
+++ b/alterator-grub/backend3/grub
@@ -28,7 +28,7 @@ write_device()
                 mv $dev $(echo $dev | sed -e 's/\(.*\)\(lvm.*\)_\(.*\)_\(.*\)/\1\3-\4/')
         done
         if [ -d /dev/evms/md ] && [ ! -d /dev/md ] ; then
-    		ln -s /dev/evms/md /dev/md
+		mkdir -p /dev/md && mount --bind /dev/evms/md /dev/md
         fi
         for dev in $(find /dev/mapper -name '*_luks'); do
                 ln -s "$dev" /dev/$(basename "$dev")
-- 
1.7.12.4


--i3lJ51RuaGWuFYNw--


Подробная информация о списке рассылки Devel