1. 16 Mar, 2018 4 commits
    • Colin Watson's avatar
      Add GRUB_RECOVERY_TITLE option · 0adc9d7d
      Colin Watson authored
      This allows the controversial "recovery mode" text to be customised.
      
      Bug-Ubuntu: https://bugs.launchpad.net/bugs/1240360
      Forwarded: no
      Last-Update: 2013-12-25
      
      Patch-Name: mkconfig_recovery_title.patch
      0adc9d7d
    • Colin Watson's avatar
      Add configure option to bypass boot menu if possible · 82480176
      Colin Watson authored
      If other operating systems are installed, then automatically unhide the
      menu.  Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus if
      available to check whether Shift is pressed.  If it is, show the menu,
      otherwise boot immediately.  If keystatus is not available, then fall
      back to a short delay interruptible with Escape.
      
      This may or may not remain Ubuntu-specific, although it's not obviously
      wanted upstream.  It implements a requirement of
      https://wiki.ubuntu.com/DesktopExperienceTeam/KarmicBootExperienceDesignSpec#Bootloader.
      
      If the previous boot failed (defined as failing to get to the end of one
      of the normal runlevels), then show the boot menu regardless.
      
      Author: Richard Laager <rlaager@wiktel.com>
      Author: Robie Basak <robie.basak@ubuntu.com>
      Forwarded: no
      Last-Update: 2015-09-04
      
      Patch-Name: quick_boot.patch
      82480176
    • Colin Watson's avatar
      Read /etc/default/grub.d/*.cfg after /etc/default/grub · 0c9b39ff
      Colin Watson authored
      Bug-Ubuntu: https://bugs.launchpad.net/bugs/901600
      Forwarded: no
      Last-Update: 2014-01-28
      
      Patch-Name: default_grub_d.patch
      0c9b39ff
    • Colin Watson's avatar
      Bail out if trying to run grub-mkconfig during upgrade to 2.00 · bc5248a3
      Colin Watson authored
      Since files in /etc/grub.d/ are conffiles, they are not put in place
      until grub-common is configured, meaning that they may be out of sync
      with the parts of grub-mkconfig that reside in /usr/.  In GRUB 1.99,
      /etc/grub.d/00_header contained a reference to ${GRUB_PREFIX}/video.lst.
      This and other code from 1.99 breaks with 2.00's grub-mkconfig.
      Deferring this to when grub-PLATFORM.postinst eventually runs is safe
      and avoids this problem.
      
      Forwarded: no
      Last-Update: 2013-12-25
      
      Patch-Name: mkconfig_mid_upgrade.patch
      bc5248a3
  2. 16 Feb, 2018 1 commit
  3. 11 Mar, 2016 1 commit
  4. 12 Feb, 2016 1 commit
  5. 29 Apr, 2015 1 commit
  6. 14 Aug, 2014 1 commit
  7. 24 Dec, 2013 1 commit
  8. 23 Dec, 2013 1 commit
  9. 22 Dec, 2013 2 commits
  10. 17 Dec, 2013 1 commit
  11. 09 Dec, 2013 1 commit
  12. 07 Dec, 2013 1 commit
  13. 29 Nov, 2013 1 commit
  14. 28 Nov, 2013 1 commit
    • Colin Watson's avatar
      Revamp hidden timeout handling · 8f236c14
      Colin Watson authored
      Add a new timeout_style environment variable and a corresponding
      GRUB_TIMEOUT_STYLE configuration key for grub-mkconfig.  This
      controls hidden-timeout handling more simply than the previous
      arrangements, and pressing any hotkeys associated with menu entries
      during the hidden timeout will now boot the corresponding menu entry
      immediately.
      
      GRUB_HIDDEN_TIMEOUT=<non-empty> + GRUB_TIMEOUT=<non-zero> now
      generates a warning, and if it shows the menu it will do so as if
      the second timeout were not present.  Other combinations are
      translated into reasonable equivalents.
      8f236c14
  15. 20 Nov, 2013 1 commit
  16. 19 Nov, 2013 1 commit
  17. 03 Nov, 2013 1 commit
  18. 26 Oct, 2013 1 commit
  19. 11 Aug, 2013 1 commit
  20. 28 Dec, 2012 2 commits
    • Colin Watson's avatar
      * util/grub-mkconfig.in: Accept GRUB_TERMINAL_OUTPUT=vga_text. · 608b647a
      Colin Watson authored
      Fixes Savannah bug #37821.
      608b647a
    • Colin Watson's avatar
      Apply program name transformations at build-time rather than at · fd49ceb3
      Colin Watson authored
      run-time.  Fixes Debian bug #696465.
      
      * acinclude.m4 (grub_TRANSFORM): New macro.
      * configure.ac: Create output variables with transformed names for
      most programs.
      * util/bash-completion.d/grub-completion.bash.in: Use
      pre-transformed variables for program names.
      * util/grub-install.in: Likewise.
      * util/grub-kbdcomp.in: Likewise.
      * util/grub-mkconfig.in: Likewise.
      * util/grub-mkconfig_lib.in: Likewise.
      * util/grub-mknetdir.in: Likewise.
      * util/grub-mkrescue.in: Likewise.
      * util/grub-mkstandalone.in: Likewise.
      * util/grub-reboot.in: Likewise.
      * util/grub-set-default.in: Likewise.
      * util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
      * tests/util/grub-shell-tester.in: Remove unused assignment.
      * tests/util/grub-shell.in: Likewise.
      * util/grub.d/00_header.in: Likewise.
      fd49ceb3
  21. 07 Apr, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix --help formatting. · 9f9d3f69
      Vladimir 'phcoder' Serbinenko authored
      	* util/grub-mkconfig_lib.in (print_option_help): New function.
      	(grub_fmt): Likewise.
      	* util/grub-install.in: Use print_option_help and grub_fmt.
      	* util/grub-kbdcomp.in: Likewise.
      	* util/grub-mkconfig.in: Likewise.
      	* util/grub-mknetdir.in: Likewise.
      	* util/grub-mkrescue.in: Likewise.
      	* util/grub-mkstandalone.in: Likewise.
      	* util/grub-reboot.in: Likewise.
      	* util/grub-set-default.in: Likewise.
      	* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
      9f9d3f69
  22. 05 Mar, 2012 1 commit
  23. 04 Mar, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Use submenus in grub-mkconfig. · 0cdc126c
      Vladimir 'phcoder' Serbinenko authored
      	* util/grub-mkconfig.in: Define GRUB_ACTUAL_DEFAULT.
      	* util/grub-mkconfig_lib.in (grub_quote): New function.
      	(gettext_printf): Use gettext and not gettext_quoted to fix several
      	messages.
      	* util/grub.d/10_hurd.in: Use submenus.
      	* util/grub.d/10_kfreebsd.in: Likewise.
      	* util/grub.d/10_linux.in: Likewise.
      	* util/grub.d/10_netbsd.in: Likewise.
      	* util/grub.d/20_linux_xen.in: Likewise.
      	* util/grub.d/30_os-prober.in: Likewise.
      	* util/grub.d/10_illumos.in: Add missing quoting.
      	* util/grub.d/10_windows.in: Likewise.
      0cdc126c
  24. 03 Mar, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * grub-core/commands/gptsync.c: Fix typographic quoting. · 805a8dcc
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/commands/ieee1275/suspend.c: Likewise.
      	* grub-core/commands/parttool.c: Likewise.
      	* grub-core/commands/search_wrap.c: Likewise.
      	* grub-core/commands/videoinfo.c: Likewise.
      	* grub-core/gfxmenu/gui_label.c: Likewise.
      	* grub-core/hello/hello.c: Likewise.
      	* grub-core/kern/emu/main.c: Likewise.
      	* grub-core/net/net.c: Likewise.
      	* grub-core/normal/menu.c: Likewise.
      	* grub-core/normal/menu_text.c: Likewise.
      	* grub-core/normal/misc.c: Likewise.
      	* util/grub-editenv.c: Likewise.
      	* util/grub-install.in: Likewise.
      	* util/grub-kbdcomp.in: Likewise.
      	* util/grub-mkconfig.in: Likewise.
      	* util/grub-mknetdir.in: Likewise.
      	* util/grub-mkrescue.in: Likewise.
      	* util/grub-mkstandalone.in: Likewise.
      	* util/grub-reboot.in: Likewise.
      	* util/grub-set-default.in: Likewise.
      	* util/grub-setup.c: Likewise.
      	* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
      805a8dcc
  25. 02 Mar, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * grub-core/commands/i386/pc/drivemap.c: Add TRANSLATORS comments. · e7d2559b
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/commands/lsmmap.c: Likewise.
      	* grub-core/commands/minicmd.c: Likewise.
      	* grub-core/commands/mips/loongson/lsspd.c: Likewise.
      	* grub-core/commands/regexp.c: Likewise.
      	* grub-core/gdb/gdb.c: Likewise.
      	* grub-core/term/gfxterm.c: Likewise.
      	* util/grub-mkconfig.in: Likewise.
      	* util/grub-mkfont.c: Likewise.
      	* util/grub-mklayout.c: Likewise.
      	* util/grub-mknetdir.in: Likewise.
      	* util/grub-mkrescue.in: Likewise.
      	* util/grub.d/30_os-prober.in: Likewise.
      e7d2559b
  26. 29 Feb, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * util/grub-install.in: Add missing gettext init. · 9cc3ee5c
      Vladimir 'phcoder' Serbinenko authored
      	* util/grub-kbdcomp.in: Likewise.
      	* util/grub-mkconfig.in: Likewise.
      	* util/grub-mknetdir.in: Likewise.
      	* util/grub-mkrescue.in: Likewise.
      	* util/grub-mkstandalone.in: Likewise.
      	* util/grub-reboot.in: Likewise.
      	* util/grub-set-default.in: Likewise.
      	* util/grub.d/00_header.in: Likewise.
      	* util/grub.d/10_hurd.in: Likewise.
      	* util/grub.d/10_windows.in: Likewise.
      	* util/grub.d/30_os-prober.in: Likewise.
      	* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
      9cc3ee5c
  27. 27 Feb, 2012 1 commit
  28. 26 Feb, 2012 2 commits
    • Vladimir 'phcoder' Serbinenko's avatar
      Don't transform PACKAGE_TARNAME following a discussion on autoconf · fc847818
      Vladimir 'phcoder' Serbinenko authored
      	mailing list.
      
      	* util/grub-install.in: Don't transform PACKAGE_TARNAME.
      	* util/grub-kbdcomp.in: Likewise.
      	* util/grub-mkconfig.in: Likewise.
      	* util/grub-mkconfig_lib.in: Likewise.
      	* util/grub-mknetdir.in: Likewise.
      	* util/grub-mkrescue.in: Likewise.
      	* util/grub-mkstandalone.in: Likewise.
      	* util/grub-reboot.in: Likewise.
      	* util/grub-set-default.in: Likewise.
      	* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
      fc847818
    • Vladimir 'phcoder' Serbinenko's avatar
      Remove GRUB_PREFIX. · 47454da5
      Vladimir 'phcoder' Serbinenko authored
      	* util/grub-mkconfig.in: Remove GRUB_PREFIX.
      	* util/grub.d/00_header.in: Compute prefix in the only place it's still
      	used for backward compatibility.
      47454da5
  29. 24 Feb, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * grub-core/font/font.c (grub_font_load): Add support for default · 274416e8
      Vladimir 'phcoder' Serbinenko authored
      	path for fonts ($prefix/fonts).
      	* grub-core/kern/corecmd.c (grub_core_cmd_insmod): Unify condition
      	for checking if string is a path.
      	* grub-core/normal/main.c (features): Add feature_default_font_path.
      	* util/grub-mkconfig.in: Skip mangling of GRUB_FONT into GRUB_FONT_PATH.
      	* util/grub.d/00_header.in: Use default directory if possible.
      	* util/grub-install.in: Install unicode.pf2.
      274416e8
  30. 19 Feb, 2012 1 commit
  31. 10 Feb, 2012 1 commit
  32. 08 Feb, 2012 1 commit
  33. 03 Feb, 2012 2 commits
    • Mark Wooding's avatar
      * util/grub-mkconfig.in: Use umask rather than chmod to create · 055f856f
      Mark Wooding authored
      	grub.cfg.new to avoid insecure grub.cfg.
      055f856f
    • Vladimir 'phcoder' Serbinenko's avatar
      * util/grub-mkstandalone.in: Fix help messages. Gettextize. · a32d5c71
      Vladimir 'phcoder' Serbinenko authored
      	* util/grub-install.in: Gettextize.
      	* util/grub-mkconfig.in: Likewise.
      	* util/grub-mkconfig_lib.in: Replace gettext with echo -n and not echo
      	if not available.
      	(grub_warn): Gettextize.
      	* util/grub-mknetdir.in: Gettextize.
      	* util/grub-mkrescue.in: Likewise.
      	* util/grub-mkstandalone.in: Likewise.
      	* util/grub-reboot.in: Likewise.
      	* util/grub-set-default.in: Likewise.
      	* util/grub.d/00_header.in: Likewise.
      	* util/grub.d/10_hurd.in: Likewise.
      	* util/grub.d/10_kfreebsd.in: Likewise.
      	* util/grub.d/10_linux.in: Likewise.
      	* util/grub.d/10_netbsd.in: Likewise.
      	* util/grub.d/10_windows.in: Likewise.
      	* util/grub.d/20_linux_xen.in: Likewise.
      	* util/grub.d/30_os-prober.in: Likewise.
      	* po/POTFILES-shell.in: Regenerate.
      a32d5c71