/[grub]/grub/util/grub-install.in
ViewVC logotype

Diff of /grub/util/grub-install.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30 by okuji, Sat Oct 13 04:20:05 2001 UTC revision 1.31 by okuji, Sat Dec 29 18:33:39 2001 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2    
3  # Install GRUB on your drive.  # Install GRUB on your drive.
4  #   Copyright (C) 1999, 2000 Free Software Foundation, Inc.  #   Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
5  #  #
6  # This file is free software; you can redistribute it and/or modify it  # This file is free software; you can redistribute it and/or modify it
7  # under the terms of the GNU General Public License as published by  # under the terms of the GNU General Public License as published by
# Line 199  if test $debug = yes; then Line 199  if test $debug = yes; then
199  fi  fi
200    
201  # Initialize these directories here, since ROOTDIR was initialized.  # Initialize these directories here, since ROOTDIR was initialized.
202  bootdir=${rootdir}/boot  case "$host_os" in
203    netbsd*)
204        # Because /boot is used for the boot block in NetBSD, use /grub
205        # instead of /boot/grub.
206        grub_prefix=/grub
207        bootdir=${rootdir}
208        ;;
209    *)
210        # Use /boot/grub by default.
211        bootdir=${rootdir}/boot
212        ;;
213    esac
214    
215  grubdir=${bootdir}/grub  grubdir=${bootdir}/grub
216  device_map=${grubdir}/device.map  device_map=${grubdir}/device.map
217    

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26