* kern/emu/hostdisk.c: Include <sys/ioctl.h> and <sys/disklabel.h>
on FreeBSD. Define HAVE_DIOCGDINFO on NetBSD and FreeBSD to reduce the verbosity of later #ifs. (find_partition_start): Define this function on FreeBSD too. (device_is_wholedisk) [__FreeBSD__ || __FreeBSD_kernel__]: New function. (grub_util_biosdisk_get_grub_dev): Use partition-start-sector logic on FreeBSD.
This commit is contained in:
parent
6439b8ee81
commit
a63c31b62d
2 changed files with 65 additions and 61 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2010-09-20 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* kern/emu/hostdisk.c: Include <sys/ioctl.h> and <sys/disklabel.h>
|
||||
on FreeBSD. Define HAVE_DIOCGDINFO on NetBSD and FreeBSD to reduce
|
||||
the verbosity of later #ifs.
|
||||
(find_partition_start): Define this function on FreeBSD too.
|
||||
(device_is_wholedisk) [__FreeBSD__ || __FreeBSD_kernel__]: New
|
||||
function.
|
||||
(grub_util_biosdisk_get_grub_dev): Use partition-start-sector logic
|
||||
on FreeBSD.
|
||||
|
||||
2010-09-20 Yves Blusseau <blusseau@zetam.org>
|
||||
|
||||
* util/grub-editenv.c: Use argp instead of getopt.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue