diff --git a/debian/changelog b/debian/changelog index 16667d42f..6610853ad 100644 --- a/debian/changelog +++ b/debian/changelog @@ -24,6 +24,7 @@ grub2 (2.00-20) UNRELEASED; urgency=low + In recovery mode, add nomodeset to the Linux kernel arguments, and remove the 'set gfxpayload=keep' command. + Set default timeout to 10 seconds. + + Enable hidden timeout support by default. -- Colin Watson Mon, 07 Oct 2013 09:48:53 +0100 diff --git a/debian/rules b/debian/rules index 524901a0c..6b9326284 100755 --- a/debian/rules +++ b/debian/rules @@ -55,6 +55,7 @@ endif ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes)) DEFAULT_CMDLINE := quiet splash DEFAULT_TIMEOUT := 10 +DEFAULT_HIDDEN_TIMEOUT := 0 confflags += \ --enable-ubuntu-recovery \ --enable-quiet-boot \ @@ -67,6 +68,7 @@ substvars := \ else DEFAULT_CMDLINE := quiet DEFAULT_TIMEOUT := 5 +DEFAULT_HIDDEN_TIMEOUT := substvars := endif @@ -337,6 +339,10 @@ override_dh_install: -e "s/@DEFAULT_CMDLINE@/$(DEFAULT_CMDLINE)/g" \ -e "s/@DEFAULT_TIMEOUT@/$(DEFAULT_TIMEOUT)/g" \ debian/grub2-common/usr/share/grub/default/grub +ifneq (,$(DEFAULT_HIDDEN_TIMEOUT)) + perl -pi -e 's/^GRUB_TIMEOUT=.*/GRUB_HIDDEN_TIMEOUT=0\nGRUB_HIDDEN_TIMEOUT_QUIET=true\n$$&/' \ + debian/grub2-common/usr/share/grub/default/grub +endif ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes)) ifneq (,$(filter grub-pc,$(BUILD_PACKAGES))) patch debian/grub-pc/usr/lib/grub-legacy/update-grub \