Ensure /boot/grub exists before copying files to it for EFI installs

(closes: #696962).
This commit is contained in:
Colin Watson 2012-12-29 23:44:55 +00:00
parent 9dfe18432a
commit aa3ad21d31
2 changed files with 8 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
grub2 (1.99-25) UNRELEASED; urgency=low
* Ensure /boot/grub exists before copying files to it for EFI installs
(closes: #696962).
-- Colin Watson <cjwatson@debian.org> Sat, 29 Dec 2012 23:44:37 +0000
grub2 (1.99-24) unstable; urgency=low
* Acknowledge NMU with thanks.

1
debian/postinst.in vendored
View File

@ -661,6 +661,7 @@ case "$1" in
# /boot/grub/ has more chances of being accessible by GRUB
for i in /usr/share/grub/unicode.pf2 ; do
if test -e $i ; then
mkdir -p /boot/grub
cp $i /boot/grub/
fi
done