~ubuntu-branches/ubuntu/utopic/grub2/utopic

« back to all changes in this revision

Viewing changes to debian/grub.d/05_debian_theme

  • Committer: Package Import Robot
  • Author(s): Colin Watson, Colin Watson, Jon Severinsson
  • Date: 2014-03-31 16:30:37 UTC
  • mfrom: (17.3.93 sid)
  • Revision ID: package-import@ubuntu.com-20140331163037-b7h7nc1lf6st1z87
Tags: 2.02~beta2-8
[ Colin Watson ]
* Backport from upstream:
  - ieee1275: check for IBM pseries emulated machine.
  - Fix partmap, cryptodisk, and abstraction handling in grub-mkconfig
    (closes: #735935).
  - btrfs: fix get_root key comparison failures due to endianness.
* Build-depend on automake (>= 1.10.1) to ensure that it meets configure's
  requirements (LP: #1299041).
* When installing an image for use with UEFI Secure Boot, generate a
  load.cfg even if there are no device abstractions in use (LP: #1298399).

[ Jon Severinsson ]
* Add Tanglu support, as in Debian except:
  - Enable splash screen by default (as Ubuntu)
  - Enable quiet and quick boot (as Ubuntu)
  - Enable the grub-common init script (as Ubuntu)
  - Enable dynamic gfxpayload (as Ubuntu)
  - Enable vt handover (as Ubuntu)
  - Use monochromatic theme by default (as Ubuntu)
  - Use Tanglu GRUB wallpaper by default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
set_default_theme(){
31
31
        case $GRUB_DISTRIBUTOR in
32
 
                Ubuntu|Kubuntu)
33
 
                        # Set a monochromatic theme for Ubuntu.
 
32
                Tanglu|Ubuntu|Kubuntu)
 
33
                        # Set a monochromatic theme for Tanglu/Ubuntu.
34
34
                        echo "${1}set menu_color_normal=white/black"
35
35
                        echo "${1}set menu_color_highlight=black/light-gray"
36
36
 
176
176
case $GRUB_DISTRIBUTOR in
177
177
        Ubuntu|Kubuntu)
178
178
                ;;
 
179
        Tanglu)
 
180
                if set_background_image "/usr/share/images/grub/grub.png"; then
 
181
                        exit 0
 
182
                fi
 
183
                ;;
179
184
        *)
180
185
                if set_background_image "/usr/share/images/desktop-base/desktop-grub.png"; then
181
186
                        exit 0