~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to util/powerpc/ieee1275/grub-install.in

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2008-01-28 00:01:11 UTC
  • mto: (17.3.1 squeeze) (1.9.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20080128000111-0764agvqzg601o1d
Tags: upstream-1.95+20080128
ImportĀ upstreamĀ versionĀ 1.95+20080128

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
 
3
3
# Install GRUB on your drive.
4
 
# Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006,2007  Free Software Foundation, Inc.
 
4
# Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008  Free Software Foundation, Inc.
5
5
#
6
6
# GRUB is free software: you can redistribute it and/or modify
7
7
# it under the terms of the GNU General Public License as published by
65
65
  --grub-probe=FILE       use FILE as grub-probe
66
66
  --no-nvram              don't update the boot-device NVRAM variable
67
67
 
68
 
grub-install copies GRUB images into the DIR/boot directory specfied by
 
68
grub-install copies GRUB images into the DIR/boot directory specified by
69
69
--root-directory, and uses nvsetenv to set the Open Firmware boot-device
70
70
variable.
71
71
 
176
176
# filesystem will be accessible).
177
177
partmap_module=`$grub_probe --target=partmap --device-map=${device_map} ${grubdir} 2> /dev/null`
178
178
 
179
 
modules="$modules $fs_module $partmap_module"
 
179
# Device abstraction module, if any (lvm, raid).
 
180
devabstraction_module=`$grub_probe --target=abstraction --device-map=${device_map} ${grubdir}`
 
181
 
 
182
modules="$modules $fs_module $partmap_module $devabstraction_module"
180
183
 
181
184
# Now perform the installation.
182
185
"$grub_mkimage" --output=${grubdir}/grub $modules || exit 1