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:
3814da0
)
Provide workaround for GRUB font path bug in jessie (Debian #787685)
author
Michael Prokop
<mika@grml.org>
Thu, 4 Jun 2015 07:58:08 +0000
(09:58 +0200)
committer
Michael Prokop
<mika@grml.org>
Thu, 4 Jun 2015 07:58:08 +0000
(09:58 +0200)
grml-debootstrap
patch
|
blob
|
history
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
a3db195
..
dba6434
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-1176,6
+1176,14
@@
fi
chroot "${MNTPOINT}" update-grub
case "$RELEASE" in
chroot "${MNTPOINT}" update-grub
case "$RELEASE" in
+ jessie)
+ einfo "Applying workaround for GRUB font path bug in jessie (Debian #787685)."
+ mkdir -p "${MNTPOINT}/boot/grub/fonts/"
+ cp "${MNTPOINT}/usr/share/grub/unicode.pf2" "${MNTPOINT}/boot/grub/fonts/"
+ ;;
+ esac
+
+ case "$RELEASE" in
lenny|squeeze|wheezy)
einfo "Adjusting grub.cfg for successful boot sequence."
sed -i "s;root=[^ ]\+;root=UUID=$TARGET_UUID;" "${MNTPOINT}"/boot/grub/grub.cfg
lenny|squeeze|wheezy)
einfo "Adjusting grub.cfg for successful boot sequence."
sed -i "s;root=[^ ]\+;root=UUID=$TARGET_UUID;" "${MNTPOINT}"/boot/grub/grub.cfg