Re: [RFR] templates://kexec-tools/{kexec-tools.templates}
Christian PERRIER wrote:
> Template: kexec-tools/use_grub_config
I can't improve on your version.
Meanwhile, though... I've seen kexec-tools leave users mystified
("http://ask.debian.net/questions/issueing-reboot-does-not-really-reboot-the-computer")
so I've got a couple of wishlist-level suggestions for the package
description.
> Package: kexec-tools
> Architecture: i386 amd64 ppc64 powerpc ia64 s390 arm armel
> Depends: ${shlibs:Depends}, ${misc:Depends}, debconf
> Description: kexec tool for kexec reboots
Too many repeats of "kexec" - replace one with an explanation of what
the point of all this is. Also, as the package description implies,
it provides more than one tool:
Description: tools to support fast kexec reboots
> This tool is used to load a kernel in memory and reboot into the kernel
> loaded in memory using the kexec system call.
This doesn't quite explain
(a) the fact that it isn't (in the normal sense) a "reboot"
(b) the reason you'd want to do this
so I would suggest something like:
This package provides tools to load a kernel into memory and then
"reboot" directly into that kernel using the kexec system call,
bypassing the normal boot process.
--
JBR with qualifications in linguistics, experience as a Debian
sysadmin, and probably no clue about this particular package
diff -ru old/control new/control
--- old/control 2011-08-06 08:23:25.665960862 +0100
+++ new/control 2011-08-11 10:27:04.313960776 +0100
@@ -9,13 +9,14 @@
Package: kexec-tools
Architecture: i386 amd64 ppc64 powerpc ia64 s390 arm armel
Depends: ${shlibs:Depends}, ${misc:Depends}, debconf
-Description: kexec tool for kexec reboots
- This tool is used to load a kernel in memory and reboot into the kernel
- loaded in memory using the kexec system call.
+Description: tools to support fast kexec reboots
+ This package provides tools to load a kernel into memory and then
+ "reboot" directly into that kernel using the kexec system call,
+ bypassing the normal boot process.
Package: kexec-tools-udeb
Section: debian-installer
Architecture: any
XC-Package-Type: udeb
Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: kexec tool for kexec reboots (udeb)
+Description: tools to support fast kexec reboots (udeb)
diff -ru old/kexec-tools.templates new/kexec-tools.templates
--- old/kexec-tools.templates 2011-08-06 08:23:23.693960849 +0100
+++ new/kexec-tools.templates 2011-08-11 10:27:22.397960704 +0100
@@ -4,12 +4,12 @@
_Description: Should kexec-tools handle reboots?
If you choose this option, a system reboot will trigger a restart
into a kernel loaded by kexec instead of going through the full
- system bootloader process.
+ system boot loader process.
Template: kexec-tools/use_grub_config
Type: boolean
Default: false
-_Description: Should kexec-tools e grub2 config file to load kernel?
- If you choose this option, kexec will read grub2 config file to
+_Description: Read GRUB configuration file to load the kernel?
+ If you choose this option, kexec will read the GRUB configuration file to
determine which kernel and options to load for kexec reboot, as opposed
to what is in /etc/default/kexec.
Template: kexec-tools/load_kexec
Type: boolean
Default: true
_Description: Should kexec-tools handle reboots?
If you choose this option, a system reboot will trigger a restart
into a kernel loaded by kexec instead of going through the full
system boot loader process.
Template: kexec-tools/use_grub_config
Type: boolean
Default: false
_Description: Read GRUB configuration file to load the kernel?
If you choose this option, kexec will read the GRUB configuration file to
determine which kernel and options to load for kexec reboot, as opposed
to what is in /etc/default/kexec.
Source: kexec-tools
Section: admin
Homepage: http://kernel.org/pub/linux/utils/kernel/kexec/
Priority: optional
Maintainer: Khalid Aziz <khalid@debian.org>
Build-Depends: debhelper (>= 7.0.0), dpatch, autoconf, gnu-efi (>=3.0a-4)[ia64], libz-dev[ia64], po-debconf
Standards-Version: 3.9.2
Package: kexec-tools
Architecture: i386 amd64 ppc64 powerpc ia64 s390 arm armel
Depends: ${shlibs:Depends}, ${misc:Depends}, debconf
Description: tools to support fast kexec reboots
This package provides tools to load a kernel into memory and then
"reboot" directly into that kernel using the kexec system call,
bypassing the normal boot process.
Package: kexec-tools-udeb
Section: debian-installer
Architecture: any
XC-Package-Type: udeb
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: tools to support fast kexec reboots (udeb)
Reply to: