[Bug 596386] Re: grub2/05_debian_theme not paying attention to desktop-base comment, etc.

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 12:41:20 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: grub2 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/596386

Title:
  grub2/05_debian_theme not paying attention to desktop-base comment,
  etc.

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: grub2

  Normal install.

  /etc/grub.d/05_debian_theme: "#this allows desktop-base to override our settings"
  <<<<<
  f=/usr/share/desktop-base/grub_background.sh
  if test -e ${f} ; then
    source ${f}
  else
    WALLPAPER="/usr/share/images/desktop-base/moreblue-orbit-grub.png"
    COLOR_NORMAL="black/black"
    COLOR_HIGHLIGHT="magenta/black"
  fi
  >>>>>

  'Bug' 1: /usr/share/desktop-base - directory does not exist.
  Bug 2: /usr/share/images - directory does not exist.
  Bug 3: moreblue-orbit-grub.png - does not exist.
  Bug 4: grub_background.sh, not paid attention to.

  Created duplicate of else to fi, above, with white/blue, yellow/blue.

  Testing f= / if above from command line, shows all is well.

  color lines do not make it into grub.cfg after update-grub.

  Enhancement request: update-grub (could) indicate presence or lack of
  this file. And, if permissions issue.

  Ubuntu 10.04 LTS

  Probably cause: Since image doesn't exist, this fails:
    if background_image `make_system....` ; then
      set color_normal=${COLOR_NORMAL}
      set color_HIGHLIGHT=${COLOR_HIGHLIGHT}
    else
    EOF
    fi

  Setting of color's shouldn't depend upon presence of background image.

  I suppose you can't count on COLOR_NORMAL and COLOR_HIGHLIGHT being
  defined, but, essentially, the 'if' around the above shouldn't be
  present.

  Argubably, the directory and image should exist, which would also
  solve the problem, but also arguably, doesn't mean I haven't nuked the
  file by some other form of stupid user trick. Therefore, comments
  above still apply - 'if' should be removed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/596386/+subscriptions



More information about the foundations-bugs mailing list