mirror of
https://git.proxmox.com/git/grub2
synced 2025-11-03 09:14:29 +00:00
* Add a hack to support gfxterm / background_image on systems where /usr
isn't accessible. (Closes: #464911, #463144) - grub-pc.postinst - grub.d/05_debian_theme
This commit is contained in:
parent
ad0d81e480
commit
075397d802
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -4,11 +4,15 @@ grub2 (1.96+20080210-2) unstable; urgency=low
|
||||
* Add new upgrade-from-grub-legacy script for the user to complete the upgrade
|
||||
process from GRUB Legacy, and advertise it prominently in menu.lst.
|
||||
(Closes: #464912)
|
||||
* Add a hack to support gfxterm / background_image on systems where /usr
|
||||
isn't accessible. (Closes: #464911, #463144)
|
||||
- grub-pc.postinst
|
||||
- grub.d/05_debian_theme
|
||||
|
||||
[ Updated translations ]
|
||||
* Portuguese (pt.po) by Ricardo Silva (Closes: #465137)
|
||||
|
||||
-- Robert Millan <rmh@aybabtu.com> Mon, 11 Feb 2008 00:04:07 +0100
|
||||
-- Robert Millan <rmh@aybabtu.com> Wed, 13 Feb 2008 14:48:14 +0100
|
||||
|
||||
grub2 (1.96+20080210-1) unstable; urgency=high
|
||||
|
||||
|
||||
8
debian/grub-pc.postinst
vendored
8
debian/grub-pc.postinst
vendored
@ -34,6 +34,14 @@ case "$1" in
|
||||
update-grub
|
||||
fi
|
||||
fi
|
||||
|
||||
# hack to support gfxterm / background_image on systems where /usr isn't
|
||||
# accessible.
|
||||
for i in /usr/share/grub/unicode.pff /usr/share/images/desktop-base/debian-blueish-wallpaper-640x480.png ; do
|
||||
if test -e $i && ! grub-probe -t fs $i >/dev/null 2>&1 ; then
|
||||
cp $i /boot/grub/
|
||||
fi
|
||||
done
|
||||
;;
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
2
debian/grub.d/05_debian_theme
vendored
2
debian/grub.d/05_debian_theme
vendored
@ -14,7 +14,7 @@ EOF
|
||||
# check for usable backgrounds
|
||||
use_bg=false
|
||||
if [ "$GRUB_TERMINAL" = "gfxterm" ] ; then
|
||||
for i in /usr/share/images/desktop-base/debian-blueish-wallpaper-640x480.{png,tga} ; do
|
||||
for i in {/usr/share/images/desktop-base,/boot/grub}/debian-blueish-wallpaper-640x480.{png,tga} ; do
|
||||
if bg=`convert_system_path_to_grub_path $i` ; then
|
||||
echo "Found Debian background: `basename ${bg}`" >&2
|
||||
use_bg=true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user