~ubuntu-branches/ubuntu/dapper/grub-installer/dapper

« back to all changes in this revision

Viewing changes to debian/isinstallable

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2006-03-22 11:27:37 UTC
  • Revision ID: james.westby@ubuntu.com-20060322112737-07mi4ot4etr4a4gw
Tags: 1.14ubuntu1
* Resynchronise with Debian.
* Backport from trunk:
  - Disable grub-installer on Intel-based Macs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
        mount | grep "on /target${1%/} " | cut -d' ' -f5
14
14
}
15
15
 
 
16
ARCH="$(archdetect)"
 
17
 
 
18
case $ARCH in
 
19
        i386/*)
 
20
                MANUFACTURER="$(dmidecode -s system-manufacturer)"
 
21
                case $MANUFACTURER in
 
22
                        Apple*)
 
23
                                log "GRUB not usable on Intel-based Macs yet; use elilo"
 
24
                                exit 1
 
25
                                ;;
 
26
                esac
 
27
                ;;
 
28
esac
 
29
 
16
30
bootfs=$(findfs /boot)
17
31
[ -n "$bootfs" ] || bootfs="$(findfs /)"
18
32