mirror of
https://git.proxmox.com/git/grub2
synced 2025-10-24 09:03:23 +00:00
Remove implied initscripts dependency
debian/grub-common.init: Don't source /lib/init/vars.sh, we don't depend on initscripts (and don't want to). There is no reason why we would not use the LSB log_action_msg in non-verbose (default) mode, most other packages use it unconditionally (closes: #824875, LP: #1584134).
This commit is contained in:
parent
0000dcaa61
commit
37dba6c86d
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -3,6 +3,12 @@ grub2 (2.02~beta2-37) UNRELEASED; urgency=medium
|
||||
[ Debconf translations ]
|
||||
* [ja] Japanese (Takuma Yamada; closes: #815203, #817084).
|
||||
|
||||
[ Martin Pitt ]
|
||||
* debian/grub-common.init: Don't source /lib/init/vars.sh, we don't depend
|
||||
on initscripts (and don't want to). There is no reason why we would not
|
||||
use the LSB log_action_msg in non-verbose (default) mode, most other
|
||||
packages use it unconditionally (closes: #824875, LP: #1584134).
|
||||
|
||||
-- Colin Watson <cjwatson@debian.org> Sat, 20 Feb 2016 02:10:39 +0000
|
||||
|
||||
grub2 (2.02~beta2-36) unstable; urgency=medium
|
||||
|
||||
7
debian/grub-common.init
vendored
7
debian/grub-common.init
vendored
@ -13,20 +13,17 @@
|
||||
|
||||
which grub-editenv >/dev/null 2>&1 || exit 0
|
||||
|
||||
# Load the VERBOSE setting and other rcS variables
|
||||
. /lib/init/vars.sh
|
||||
|
||||
# Define LSB log_* functions.
|
||||
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
case $1 in
|
||||
start|restart|force-reload)
|
||||
[ "$VERBOSE" != no ] && log_action_msg "Recording successful boot for GRUB"
|
||||
log_action_msg "Recording successful boot for GRUB"
|
||||
[ -s /boot/grub/grubenv ] || rm -f /boot/grub/grubenv
|
||||
mkdir -p /boot/grub
|
||||
grub-editenv /boot/grub/grubenv unset recordfail
|
||||
[ "$VERBOSE" != no ] && log_end_msg $?
|
||||
log_end_msg $?
|
||||
;;
|
||||
stop)
|
||||
;;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user