mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
Use /boot/grub in NetBSD.
This commit is contained in:
1 parent
6ff5668ee4
commit
f70e5d2409
2 files changed
+18
-1
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2001-12-30 Yoshinori K. Okuji <okuji@gnu.org>
|
||||
|
||||
* util/grub-install.in: Set GRUB_PREFIX and BOOTDIR to "/grub"
|
||||
and "${rootdir}" respectively in NetBSD.
|
||||
|
||||
2001-12-30 Yoshinori K. Okuji <okuji@gnu.org>
|
||||
|
||||
* stage2/builtins.c (builtin_geometry): Add extra space
|
||||
|
||||
+13
-1
@@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Install GRUB on your drive.
|
||||
# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
@@ -199,7 +199,19 @@ if test $debug = yes; then
|
||||
fi
|
||||
|
||||
# Initialize these directories here, since ROOTDIR was initialized.
|
||||
case "$host_os" in
|
||||
netbsd*)
|
||||
# Because /boot is used for the boot block in NetBSD, use /grub
|
||||
# instead of /boot/grub.
|
||||
grub_prefix=/grub
|
||||
bootdir=${rootdir}
|
||||
;;
|
||||
*)
|
||||
# Use /boot/grub by default.
|
||||
bootdir=${rootdir}/boot
|
||||
;;
|
||||
esac
|
||||
|
||||
grubdir=${bootdir}/grub
|
||||
device_map=${grubdir}/device.map
|
||||
|
||||
|
||||
Reference in new issue
Block a user