]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - src/patches/grub-0.95-nonmbr.patch
updxlerator: Disable call of chmod on downloader.
[people/teissler/ipfire-2.x.git] / src / patches / grub-0.95-nonmbr.patch
CommitLineData
82705b6e
MT
1--- grub-0.95/util/grub-install.in.nonmbr 2005-03-16 10:02:50.000000000 -0500
2+++ grub-0.95/util/grub-install.in 2005-03-16 10:02:13.000000000 -0500
3@@ -444,7 +444,10 @@
4 /dev/*)
5 install_device=`resolve_symlink "$install_device"`
6 for install_drive in `find_real_devs $install_device` ; do
7- install_drive=`convert $install_drive | sed 's/,[0-9]*)/)/'`
8+ install_drive=`convert $install_drive`
9+ if is_raid1_device $install_device; then
10+ install_drive=`echo $install_drive | sed 's/,[0-9]*)/)/'`
11+ fi
12 if [ "x$install_drive" = "x" ]; then
13 exit 1
14 fi