[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[grub-mkdevicemap] opendisk detection for NetBSD (fix inside)

From: Grégoire Sutre
Subject: [grub-mkdevicemap] opendisk detection for NetBSD (fix inside)
Date: Fri, 11 Dec 2009 22:53:42 +0100
User-agent: Thunderbird (X11/20091027)

Dear GRUB 2 developers,

I am trying GRUB 2 on NetBSD, and grub-mkdevicemap does not detect any device except the floppy drive. According to util/grub-mkdevicemap.c, the problem comes from HAVE_OPENDISK, which should be defined when compiling on NetBSD.

The configure.ac script for GRUB Legacy contained the following lines:

# Get the filename or the whole disk and open it.
# Known to work on NetBSD.
AC_CHECK_LIB(util, opendisk, [GRUB_LIBS="$GRUB_LIBS -lutil"
AC_DEFINE(HAVE_OPENDISK, 1, [Define if opendisk() in -lutil can be used])])

But I did not find anything similar in GRUB 2's configure -- is it possible to add them?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]