mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-27 10:08:18 +00:00
Enable hidden timeout support by default.
This commit is contained in:
parent
67f530b777
commit
84c4b591b6
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -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 <cjwatson@debian.org> Mon, 07 Oct 2013 09:48:53 +0100
|
||||
|
||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user