projects
/
kernel-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
110c86b
)
- grub-probe sa -t drive...
author
Dinko Korunic
<kreator@carnet.hr>
Thu, 28 Apr 2011 13:50:17 +0000
(15:50 +0200)
committer
Dinko Korunic
<kreator@carnet.hr>
Thu, 28 Apr 2011 13:50:17 +0000
(15:50 +0200)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
146bc1e
..
8545cb0
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-234,7
+234,7
@@
EOF
else
# Grub2 part
grub-mkdevicemap --no-floppy
- grub-install --no-floppy --grub-setup=/bin/true "$(grub-probe /boot/grub)" >/dev/null 2>&1
+ grub-install --no-floppy --grub-setup=/bin/true "$(grub-probe -t drive /boot/grub)" >/dev/null 2>&1
fi
echo -n " grub3"
@@
-269,7
+269,7
@@
if [ "x$GRUB2" = "xno" ]; then
fi
else
# Grub2 part
- install_device="$(grub-probe /boot/grub)"
+ install_device="$(grub-probe -t drive /boot/grub)"
fi
echo -n " grub4"