mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-27 09:39:58 +00:00
Add "splash" to default boot options on Ubuntu.
This commit is contained in:
parent
1666f0087a
commit
537c70e5cf
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -22,6 +22,7 @@ grub2 (2.00-13) UNRELEASED; urgency=low
|
||||
- Generate configuration for signed UEFI kernels if available.
|
||||
- On Ubuntu amd64, add a raw-uefi custom upload tarball for signing.
|
||||
- Install signed images if available and UEFI Secure Boot is enabled.
|
||||
- Add "splash" to default boot options on Ubuntu.
|
||||
|
||||
-- Colin Watson <cjwatson@debian.org> Mon, 28 Jan 2013 11:08:07 +0000
|
||||
|
||||
|
2
debian/default/grub
vendored
2
debian/default/grub
vendored
@ -6,7 +6,7 @@
|
||||
GRUB_DEFAULT=0
|
||||
GRUB_TIMEOUT=5
|
||||
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="@DEFAULT_CMDLINE@"
|
||||
GRUB_CMDLINE_LINUX=""
|
||||
|
||||
# Uncomment to enable BadRAM filtering, modify to suit your needs
|
||||
|
9
debian/rules
vendored
9
debian/rules
vendored
@ -52,6 +52,12 @@ else
|
||||
$(error COMMON_PLATFORM not set for $(DEB_HOST_ARCH_CPU))
|
||||
endif
|
||||
|
||||
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
|
||||
DEFAULT_CMDLINE := quiet splash
|
||||
else
|
||||
DEFAULT_CMDLINE := quiet
|
||||
endif
|
||||
|
||||
%:
|
||||
dh $@ --parallel
|
||||
|
||||
@ -168,6 +174,7 @@ platform_subst = \
|
||||
sed debian/$(1) \
|
||||
-e "s/@PACKAGE@/$(2)/g" \
|
||||
-e "s/@CPU_PLATFORM@/$$cpu_platform/g" \
|
||||
-e "s/@DEFAULT_CMDLINE@/$(DEFAULT_CMDLINE)/g" \
|
||||
>> debian/$(2).$(3); \
|
||||
fi
|
||||
|
||||
@ -301,6 +308,8 @@ override_dh_install:
|
||||
done
|
||||
dh_install -pgrub-emu --sourcedir=debian/tmp-grub-emu
|
||||
dh_install -pgrub-emu-dbg --sourcedir=debian/tmp-grub-emu
|
||||
sed -i -e "s/@DEFAULT_CMDLINE@/$(DEFAULT_CMDLINE)/g" \
|
||||
debian/grub2-common/usr/share/grub/default/grub
|
||||
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 \
|
||||
|
4
debian/templates.in
vendored
4
debian/templates.in
vendored
@ -7,7 +7,7 @@ _Description: Linux command line:
|
||||
|
||||
Template: grub2/linux_cmdline_default
|
||||
Type: string
|
||||
Default: quiet
|
||||
Default: @DEFAULT_CMDLINE@
|
||||
_Description: Linux default command line:
|
||||
The following string will be used as Linux parameters for the default menu
|
||||
entry but not for the recovery mode.
|
||||
@ -23,7 +23,7 @@ _Description: kFreeBSD command line:
|
||||
# still unused
|
||||
Template: grub2/kfreebsd_cmdline_default
|
||||
Type: string
|
||||
Default: quiet
|
||||
Default: @DEFAULT_CMDLINE@
|
||||
_Description: kFreeBSD default command line:
|
||||
The following string will be used as kFreeBSD parameters for the default menu
|
||||
entry but not for the recovery mode.
|
||||
|
Loading…
Reference in New Issue
Block a user