]>
Commit | Line | Data |
---|---|---|
82705b6e MT |
1 | --- grub-0.97/util/grub-install.in.dmraid-recheck-bad 2006-01-13 17:04:26.000000000 -0500 |
2 | +++ grub-0.97/util/grub-install.in 2006-01-13 17:05:00.000000000 -0500 | |
3 | @@ -415,6 +415,14 @@ | |
4 | grubdir=${bootdir}/grub | |
5 | device_map=${grubdir}/device.map | |
6 | ||
7 | +if [ "$recheck" == "yes" ]; then | |
8 | + if grep 'mapper' ${device_map} >/dev/null; then | |
9 | + echo 'grub-install does not support reprobing of device.map when' 1>&2 | |
10 | + echo 'using a device-mapper based boot device.' 1>&2 | |
11 | + exit 1 | |
12 | + fi | |
13 | +fi | |
14 | + | |
15 | # if they just want the images copied, copy the images and then exit | |
16 | if test $justcopy = yes; then | |
17 | copy_images |