~arges/memtest86+/fix_lp1071209_quantal

« back to all changes in this revision

Viewing changes to debian/grub

  • Committer: Colin Watson
  • Date: 2010-02-22 15:55:57 UTC
  • Revision ID: cjwatson@canonical.com-20100222155557-al6tyhd6d6dz0972
* Reapply dropped patch from karmic:
  - Don't emit grub2 menu items if /boot is on a loop-mounted device (e.g.
    Wubi; LP: #435153).

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
. /usr/lib/grub/grub-mkconfig_lib
11
11
 
 
12
# We can't cope with loop-mounted devices here.
 
13
case ${GRUB_DEVICE_BOOT} in
 
14
  /dev/loop/*|/dev/loop[0-9])
 
15
    exit 0
 
16
  ;;
 
17
esac
 
18
 
12
19
if test -e /boot/memtest86+.bin ; then
13
20
  MEMTESTPATH=$( make_system_path_relative_to_its_root "/boot/memtest86+.bin" )
14
21
  echo "Found memtest86+ image: $MEMTESTPATH" >&2