2009-06-04 Robert Millan <rmh.grub@aybabtu.com>

Prevent GRUB from probing floppies during boot.

        * conf/common.rmk (search_mod_CFLAGS): Use `-Werror -Wall'.
        * commands/search.c (options): Add --no-floppy.
        (search_fs, search_file, grub_cmd_search): Support --no-floppy.
        * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Use
        --no-floppy when searching for UUIDs.
This commit is contained in:
robertmh 2009-06-04 11:37:44 +00:00
parent 2bf5885a3d
commit f4448a0792
4 changed files with 34 additions and 11 deletions

View file

@ -413,7 +413,7 @@ help_mod_LDFLAGS = $(COMMON_LDFLAGS)
# For search.mod.
search_mod_SOURCES = commands/search.c
search_mod_CFLAGS = $(COMMON_CFLAGS)
search_mod_CFLAGS = $(COMMON_CFLAGS) -Werror -Wall
search_mod_LDFLAGS = $(COMMON_LDFLAGS)
# For test.mod.