projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4afd254
)
try to fix groot-problem of grub
author
Michael Prokop
<mika@grml.org>
Fri, 3 Nov 2006 23:02:30 +0000
(
00:02
+0100)
committer
Michael Prokop
<mika@grml.org>
Fri, 3 Nov 2006 23:02:30 +0000
(
00:02
+0100)
chroot-script
patch
|
blob
|
history
diff --git
a/chroot-script
b/chroot-script
index
e6c95a7
..
620a2c6
100644
(file)
--- a/
chroot-script
+++ b/
chroot-script
@@
-158,7
+158,7
@@
if [ -n "$GROOT" ] ; then
# finally install grub
update-grub -y
- sed -i "s/
groot=.*/
groot=(${GROOT})/g" /boot/grub/menu.lst
+ sed -i "s/
^# groot=.*/#
groot=(${GROOT})/g" /boot/grub/menu.lst
# not sure why savedefault does not work for me; any ideas?
sed -i "s/^savedefault.*/# &/g" /boot/grub/menu.lst
update-grub -y