]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
GRUB-legacy configuration file support.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 18 Sep 2010 14:21:57 +0000 (16:21 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 18 Sep 2010 14:21:57 +0000 (16:21 +0200)
* Makefile.util.def (grub-menulst2cfg): New util.
* docs/man/grub-menulst2cfg.h2m: New file.
* grub-core/Makefile.core.def (legacycfg): New module.
* grub-core/commands/legacycfg.c: New file.
* grub-core/commands/menuentry.c (append_menu_entry): Rename to ...
(grub_normal_add_menu_entry): ... this.
* grub-core/commands/password.c (grub_cmd_password): Split main part to ...
(grub_normal_set_password): ...this.
* grub-core/commands/videoinfo.c (grub_cmd_videoinfo): Support MODE.
* grub-core/loader/i386/linux.c (linux_vesafb_res): Move to ..,
* grub-core/lib/i386/pc/vesa_modes_table.c: ... here.
* grub-core/lib/legacy_parse.c: New file.
* grub-core/normal/auth.c (grub_cmd_authenticate): New command.
* include/grub/i386/pc/vesa_modes_table.h: New file.
* include/grub/legacy_parse.h: Likewise.
* include/grub/normal.h (grub_normal_add_menu_entry): New proto.
* util/grub-menulst2cfg.c: New file.

* grub-core/Makefile.core.def (lsapm): New module.
* grub-core/commands/i386/pc/lsapm.c: New file.
* grub-core/loader/i386/multiboot_mbi.c (make_mbi) [GRUB_MACHINE_PCBIOS]: Pass APM info.
* grub-core/loader/multiboot_mbi2.c (make_mbi) [GRUB_MACHINE_PCBIOS]:
Likewise.
* include/grub/i386/pc/apm.h: New file.
* include/multiboot.h (multiboot_apm_info): New struct.

1  2 
ChangeLog

diff --cc ChangeLog
index d34dbd2011757cd6692df81467997de6e554cc35,c525fe3695ff99bdc087a83e2a9e38b686d7b71f..5b4f61e44f1cce28a9455bfb53a952c11b035923
+++ b/ChangeLog
++2010-09-18  Vladimir Serbinenko  <phcoder@gmail.com>
++
++      * grub-core/Makefile.core.def (lsapm): New module.
++      * grub-core/commands/i386/pc/lsapm.c: New file.
++      * grub-core/loader/i386/multiboot_mbi.c (make_mbi) [GRUB_MACHINE_PCBIOS]: Pass APM info.
++      * grub-core/loader/multiboot_mbi2.c (make_mbi) [GRUB_MACHINE_PCBIOS]:
++      Likewise.
++      * include/grub/i386/pc/apm.h: New file.
++      * include/multiboot.h (multiboot_apm_info): New struct.
++
++2010-09-18  Vladimir Serbinenko  <phcoder@gmail.com>
++
++      GRUB-legacy configuration file support.
++
++      * Makefile.util.def (grub-menulst2cfg): New util.
++      * docs/man/grub-menulst2cfg.h2m: New file.
++      * grub-core/Makefile.core.def (legacycfg): New module.
++      * grub-core/commands/legacycfg.c: New file.
++      * grub-core/commands/menuentry.c (append_menu_entry): Rename to ...
++      (grub_normal_add_menu_entry): ... this.
++      * grub-core/commands/password.c (grub_cmd_password): Split main part to ...
++      (grub_normal_set_password): ...this.
++      * grub-core/commands/videoinfo.c (grub_cmd_videoinfo): Support MODE.
++      * grub-core/loader/i386/linux.c (linux_vesafb_res): Move to ..,
++      * grub-core/lib/i386/pc/vesa_modes_table.c: ... here.
++      * grub-core/lib/legacy_parse.c: New file.
++      * grub-core/normal/auth.c (grub_cmd_authenticate): New command.
++      * include/grub/i386/pc/vesa_modes_table.h: New file.
++      * include/grub/legacy_parse.h: Likewise.
++      * include/grub/normal.h (grub_normal_add_menu_entry): New proto.
++      * util/grub-menulst2cfg.c: New file.
++
 +2010-09-17  Colin Watson  <cjwatson@ubuntu.com>
 +
 +      * grub-core/kern/emu/hostdisk.c
 +      (convert_system_partition_to_system_disk): Initialise node.
 +
 +2010-09-17  Colin Watson  <cjwatson@ubuntu.com>
 +
 +      * grub-core/kern/emu/hostdisk.c
 +      (convert_system_partition_to_system_disk): Fix devmapper memory pool
 +      leak.
 +      Reported and based on patch by: Modestas Vainius.
 +
 +2010-09-17  Colin Watson  <cjwatson@ubuntu.com>
 +
 +      Fix DM-RAID probing with recent versions of device-mapper udev
 +      rules.
 +
 +      * grub-core/kern/emu/hostdisk.c (read_device_map): Don't
 +      canonicalise device paths under /dev/mapper/.
 +      (convert_system_partition_to_system_disk): Compare the
 +      uncanonicalised path to /dev/mapper/ rather than the canonicalised
 +      path, since device nodes under /dev/mapper/ are often symlinks.
 +
 +2010-09-17  Yves Blusseau  <blusseau@zetam.org>
 +
 +      * .bzrignore: *.d removed (old rule), add *.image and symlist.h.
 +
 +2010-09-16  Yves Blusseau  <blusseau@zetam.org>
 +
 +      * configure.ac: Avoid some annoying error messages if freetype-config
 +      program is not found.
 +
 +2010-09-16  Colin Watson  <cjwatson@ubuntu.com>
 +
 +      Support RAID on virtio devices, and others.
 +
 +      * grub-core/kern/emu/getroot.c [__MINGW32__] (find_root_device):
 +      Rename to ...
 +      [__MINGW32__] (grub_find_device): ... this.
 +      [! __MINGW32__ && ! __CYGWIN__] (find_root_device): Rename to ...
 +      [! __MINGW32__ && ! __CYGWIN__] (grub_find_device): ... this.  Use a
 +      reasonable default if dir is NULL.
 +      [! __MINGW32__ && __CYGWIN__] (find_cygwin_root_device): Rename to
 +      ...
 +      [! __MINGW32__ && __CYGWIN__] (grub_find_device): ... this.
 +      (grub_guess_root_device): Update callers.
 +      * include/grub/emu/getroot.h (grub_find_device): Add prototype.
 +
 +      * util/raid.c (grub_util_getdiskname): Remove.
 +      (grub_util_raid_getmembers): Use grub_find_device rather than
 +      grub_util_getdiskname.
 +
 +2010-09-16  Colin Watson  <cjwatson@ubuntu.com>
 +
 +      * docs/grub.texi (serial): Remove obsolete comment about GRUB
 +      needing to be compiled with serial support.
 +      (ls): Indicate that multiple files are accepted.
 +      * grub-core/commands/ls.c (GRUB_MOD_INIT): Update help text to
 +      indicate that multiple files are accepted.
 +
 +2010-09-16  Colin Watson  <cjwatson@ubuntu.com>
 +
 +      * .bzrignore: Add *.1, *.8, grub-shell, grub-shell-tester,
 +      libgrub_a_init.c, and util/bash-completion.d/grub.
 +
 +2010-09-15  Vladimir Serbinenko  <phcoder@gmail.com>
 +
 +      * util/grub-setup.c (setup): Fix incorrect container semantics.
 +
 +2010-09-15  Vladimir Serbinenko  <phcoder@gmail.com>
 +
 +      * grub-core/commands/parttool.c (grub_cmd_parttool): Fix a variable
 +      misusage.
 +      Reported by: J. Nick Terry
 +
 +2010-09-15  Vladimir Serbinenko  <phcoder@gmail.com>
 +
 +      Move embedding routines to partmap sources files.
 +
 +      * grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot)
 +      [GRUB_UTIL]: New variable.
 +      (gpt_partition_map_iterate): Set part.parent.
 +      (gpt_partition_map_embed) [GRUB_UTIL]: New function.
 +      (grub_gpt_partition_map) [GRUB_UTIL]: Set .embed.
 +      * grub-core/partmap/msdos.c (pc_partition_map_embed) [GRUB_UTIL]:
 +      New function.
 +      (grub_msdos_partition_map) [GRUB_UTIL]: Set .embed.
 +      * include/grub/partition.h (grub_embed_type_t) [GRUB_UTIL]: New type.
 +      (grub_partition_map) [GRUB_UTIL]: New field embed.
 +      * util/grub-setup.c (grub_gpt_partition_type_bios_boot): Removed.
 +      (setup): Use ->embed.
 +
 +2010-09-15  Vladimir Serbinenko  <phcoder@gmail.com>
 +
 +      * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): New
 +      function.
 +      * include/grub/emu/hostdisk.h (grub_util_biosdisk_is_floppy): New proto.
 +      * util/grub-setup.c (setup): Use grub_util_biosdisk_is_floppy.
 +
 +2010-09-15  Yves Blusseau  <blusseau@zetam.org>
 +
 +      Add function to get completions from usage.
 +
 +      * util/bash-completion.d/grub-completion.bash.in: Add function to get
 +      completions from usage. Use LC_ALL=C to get options properly.
 +
  2010-09-15  Vladimir Serbinenko  <phcoder@gmail.com>
  
        * grub-core/gnulib/basename-lgpl.c: Imported.