Your message dated Sun, 11 Oct 2015 10:04:49 +0000
with message-id <[email protected]>
and subject line Bug#568623: fixed in nvram-wakeup 1.1-3
has caused the Debian Bug report #568623,
regarding nvram-wakeup: grub2 script
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
568623: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568623
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nvram-wakeup
Severity: wishlist
Tags: patch

hi, I prepared some code for grub2. It helps (a lot) people that need to
reboot the machine to set up the RTC alarm in their motherboard. (Note that
the instructions that are provided in the README.reboot file are useless for
people using grub2 ).

The end result is that there is a new menu voice in the grub2 boot, on
bottom, that will immediately halt the machine; this menu is autoselected
if the command 
'/usr/bin/grub-editenv /boot/grub/grubenv set nvram_halt_once=1'
is run before reboot; this autoselection happens only
once, that is, when you then boot the machine, the usual menu is selected
(whatever "usual" means to you).

What follows is tested in Debian squeeze: the attached file is to be saved in
/etc/grub.d/50_nvram_wakeup and then 'update-grub' so that the file
/boot/grub/grub.cfg is regenerated to contain the new menu voice . That's
all folks.

I suggest that this script be put somewhere in the nvram-wakeup
package; and these instructions may go in a file such as
 /usr/share/doc/nvram-wakeup/README_grub2_reboot-halt

 ---

I use the above method in my Freevo box, that now is in a PC with a
 mobo that needs a reboot. In /etc/freevo/local_conf.py, I set

AUTOSHUTDOWN_BIOS_NEEDS_REBOOT=True
AUTOSHUTDOWN_BOOT_LOADER = "GRUB"
AUTOSHUTDOWN_GRUB_CMD = "/usr/bin/grub-editenv /boot/grub/grubenv set 
nvram_halt_once=1"

(the above assumes that the user running freevo can also edit the file
/boot/grub/grubenv , so in some setups 'sudo' may be used)

Bye, and thanks. a.
#!/bin/sh
exec tail -n +3 $0
# This is an utility for the nvram-wakeup package.  nvram-wakeup
# programs the alarm of the RTC (Real Time Clock, a clock in the
# motherboard) so that the system will power up at a certain hour.
# This menu method provides an easy way to halt the system at reboot,
# once.  This is needed by nvram-wakeup on certain motherboard, where,
# for the changes to take effect, you need to restart (not halt) the
# computer and wait until the BIOS runs (don't need to enter the BIOS
# setup).
menuentry "Halt once (for setting alarm)" {
  halt
}
if [ ${nvram_halt_once} ] ; then
  set nvram_halt_once=
  save_env nvram_halt_once
  set default="Halt once (for setting alarm)"
fi


--- End Message ---
--- Begin Message ---
Source: nvram-wakeup
Source-Version: 1.1-3

We believe that the bug you reported is fixed in the latest version of
nvram-wakeup, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tobias Grimm <[email protected]> (supplier of updated nvram-wakeup package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 11 Oct 2015 11:44:25 +0200
Source: nvram-wakeup
Binary: nvram-wakeup
Architecture: source amd64
Version: 1.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian VDR Team <[email protected]>
Changed-By: Tobias Grimm <[email protected]>
Description:
 nvram-wakeup - Read/write the WakeUp time from/to the BIOS
Closes: 568623
Changes:
 nvram-wakeup (1.1-3) unstable; urgency=medium
 .
   * Standards-Version: 3.9.6
   * Fixed Vcs-Git to use anonscm link
   * Remove build time macros to get reproducible build
 .
 nvram-wakeup (1.1-2) unstable; urgency=low
 .
   [ Thomas Schmidt ]
   * Added grub2 script from A Mennucc (Closes: #568623)
   * Switched build-system back to debhelper, removed build-dep cdbs
   * Set format to 3.0 (quilt)
 .
   [ Tobias Grimm ]
   * Standards-Version: 3.9.4
   * Use debhelper 9
Checksums-Sha1:
 5484bb9bd751d5d41a0d318eede881a43e4b1009 1976 nvram-wakeup_1.1-3.dsc
 f9c6e8ef0adddf68d99f60589ac0646e153c4fe7 1070097 nvram-wakeup_1.1.orig.tar.gz
 a2a9a61e64cc5c897949233cd69d734f0c2b5081 8168 nvram-wakeup_1.1-3.debian.tar.xz
 16b5440cc8d11bffd5552e9f8c903c52ede9e466 84772 nvram-wakeup_1.1-3_amd64.deb
Checksums-Sha256:
 a83018874a34e1182fa0833342ecd90ddc4132132ee21fa7ac1d3399d826c66b 1976 
nvram-wakeup_1.1-3.dsc
 b5f6a86ec7ad1c25d22f7dd0bf3261c2766e6302f0f6f80a963ceb3eb3b74811 1070097 
nvram-wakeup_1.1.orig.tar.gz
 1a60aa08302c29b7b9443b698e6277da0b09809226ad49a18fd24067374978e7 8168 
nvram-wakeup_1.1-3.debian.tar.xz
 c7a9af8e66171483898fb1d2cf613789c80bd628ea1cb923c6fe464df45b0cbf 84772 
nvram-wakeup_1.1-3_amd64.deb
Files:
 aa493c8dcbc117ac126308bd3dc5b6e2 1976 misc optional nvram-wakeup_1.1-3.dsc
 ebd6e276167ba4351ecb1ea2bd368422 1070097 misc optional 
nvram-wakeup_1.1.orig.tar.gz
 a94fee35ff7df93fb76ad472d81e73e4 8168 misc optional 
nvram-wakeup_1.1-3.debian.tar.xz
 4293c5d12fd252d10c44c858f13d856c 84772 misc optional 
nvram-wakeup_1.1-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWGjDBAAoJENYuT1sEE5C8gZAP/iM9uA/I77y92bBFv133dylN
bzcydOncUKZQ8lSTKMQJUv+0sbLvsed2Nlb1dJkeV5mudgbCBLDq41Osb9CVMJI5
nnrk2A4RO/T1waTuO8UiQswM1pRgtaY83h0jqbK8vp/A/J/NHlTwKl8zbVM/9np0
GZzDrln0KLYaMB+0C3CQ40kYxYc+NMPVAwpYFWT9IdWZeNNCo8sXmkb/na+3HGEs
CcJaqQh4vhDmsvcDEmbren5rCyshhtXDc5FSjJDKnlMxIb486BnxepQQGthf//PM
sRiW487uzmd4V/T7ZAVwTEFt17zU4YOL0NQ4JYXz/zl2M9BJdb86Lh1cp0edYa3U
DccAOnXiUXuMjyxSJC8yJziMfOq4x7q2Zmx3sQCKvpOFzPVocgfQNUSLTjNeD4fo
i7SV9vEsyIZ8RCoKDSo0C+OvRy2MBIRIyCnqpay2ENNfnpGvgkf3TRBRcDrZ/8lk
YgAjnOobxY9a9uikjMTsK9b7MlzsfZt23prNc9xaOcFR51bif1H14vClzaz8Cym4
HZTEAfH/c1AEOBAYx2R3A2e9ICO0l5kVmCZ/6z0t54j4dEx5Q8Jkd59mQ93Tl8fG
gBeHw8pLlf3nSrWFLXqGBV29DKwek9dX7RZPS/s4WNRuaC5LstFGWV6Gr2ABfTIn
Z0fuwF7D14DakEzG8Sio
=bhcx
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-vdr-dvb-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-vdr-dvb-devel

Reply via email to