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
+19
-2
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>
|
2001-12-30 Yoshinori K. Okuji <okuji@gnu.org>
|
||||||
|
|
||||||
* stage2/builtins.c (builtin_geometry): Add extra space
|
* stage2/builtins.c (builtin_geometry): Add extra space
|
||||||
|
|||||||
+14
-2
@@ -1,7 +1,7 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# Install GRUB on your drive.
|
# 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
|
# 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
|
# under the terms of the GNU General Public License as published by
|
||||||
@@ -199,7 +199,19 @@ if test $debug = yes; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Initialize these directories here, since ROOTDIR was initialized.
|
# Initialize these directories here, since ROOTDIR was initialized.
|
||||||
bootdir=${rootdir}/boot
|
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
|
grubdir=${bootdir}/grub
|
||||||
device_map=${grubdir}/device.map
|
device_map=${grubdir}/device.map
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user