[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFR] templates://init-select/{templates}



Christian PERRIER wrote:
> -_Description: select an init system
> - Please select an init system from the following list.  If you are unsure
> - what this means, please select the default.
> +_Description: Init system:
> 
> Turn the short description into a "prompt"
> 
> + Please select an init system from the list.
> + .
> + The init system is the first process started by the kernel and is in
> + charge of handling the machine boot process.

Well, *init* is conventionally the first process started, but I'm not
sure you can say that about different init *systems*.  Systemd and
Upstart each provide a binary of the same name (except lowercased)
which is symlinked as /sbin/init, but the same isn't true of OpenRC
(or indeed SysV)...  Maybe we could just insert "determines".

"The machine boot process" is a slightly awkward stack - can we get
away with dropping "machine"?

Oh, and repeated "process"!  But I only noticed that on a reread, so
never mind.

    The init system determines the first process started by the kernel,
    and is in charge of handling the boot process.

(Or maybe the other way around?  Or "the first process started by the
kernel, *which* is in charge of..."?  Too many options...)
  
>  Template: init-select/no-systemd

Looks okay.  In the control file:

>  Description: init system selection tool
> - init-select makes it easy to select among the available init systems (the
> - first process started when the system starts).  init-select currently only
> - supports the grub bootloader, but this will be expanded to lilo and other
> - bootloaders in the future.

("Select among" strikes me as slightly odd - maybe a victim of the
prejudice against "between" with more than two objects.  I wouldn't
say either, though - for me it's "select from" the available options.)

> + The package provides a tool (init-select) that simplifies the process
> + of selecting the init system among those available.

s/The/This/ and definitely in this context s/among/from/

> + .
> + The init systems is the first process started when the system starts.

Again, not exactly (and rogue plural marker, and repeated use of
"system" and "start"; plus another "process", but again never mind.)

    The init system determines the first process started on boot.

> + .
> + This tool currently only supports the GRUB boot loader, but this will
> + be expanded to other boot loaders in the future.

If you keep this paragraph it might as well shrink to one line:

    This tool does not yet support boot loaders other than GRUB.
-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package
diff -ru init-select-1.20140105.pristine/debian/control init-select-1.20140105/debian/control
--- init-select-1.20140105.pristine/debian/control	2014-01-05 01:18:54.000000000 +0000
+++ init-select-1.20140105/debian/control	2014-01-16 20:27:47.414667489 +0000
@@ -15,7 +15,9 @@
 Suggests:
  systemd,
 Description: init system selection tool
- init-select makes it easy to select among the available init systems (the
- first process started when the system starts).  init-select currently only
- supports the grub bootloader, but this will be expanded to lilo and other
- bootloaders in the future.
+ This package provides a tool (init-select) that simplifies the process
+ of selecting the init system from those available.
+ .
+ The init system determines the first process started on boot.
+ .
+ This tool does not yet support boot loaders other than GRUB.
diff -ru init-select-1.20140105.pristine/debian/templates init-select-1.20140105/debian/templates
--- init-select-1.20140105.pristine/debian/templates	2014-01-05 01:16:38.000000000 +0000
+++ init-select-1.20140105/debian/templates	2014-01-16 20:37:07.422760942 +0000
@@ -2,13 +2,17 @@
 Type: select
 Choices: sysvinit, systemd
 Default: sysvinit
-_Description: select an init system
- Please select an init system from the following list.  If you are unsure
- what this means, please select the default.
+_Description: Init system:
+ Please select an init system from the list.
+ .
+ The init system determines the first process started by the kernel,
+ and is in charge of handling the boot process.
 
 Template: init-select/no-systemd
-Type: note
+Type: error
 _Description: systemd package not installed
  The systemd package is not installed at present, so it cannot be selected
- as the init system.  Please execute "apt-get install systemd && 
+ as the init system.
+ .
+ Please execute "apt-get install systemd && 
  dpkg-reconfigure init-select" in order to install and configure systemd.
Source: init-select
Section: utils
Priority: optional
Maintainer: Michael Gilbert <mgilbert@debian.org>
Build-Depends:
 debhelper (>= 9),
 po-debconf,
Standards-Version: 3.9.5

Package: init-select
Architecture: all
Depends:
 ${misc:Depends},
 grub2-common,
Suggests:
 systemd,
Description: init system selection tool
 This package provides a tool (init-select) that simplifies the process
 of selecting the init system from those available.
 .
 The init system determines the first process started on boot.
 .
 This tool does not yet support boot loaders other than GRUB.
Template: init-select/choose
Type: select
Choices: sysvinit, systemd
Default: sysvinit
_Description: Init system:
 Please select an init system from the list.
 .
 The init system determines the first process started by the kernel,
 and is in charge of handling the boot process.

Template: init-select/no-systemd
Type: error
_Description: systemd package not installed
 The systemd package is not installed at present, so it cannot be selected
 as the init system.
 .
 Please execute "apt-get install systemd && 
 dpkg-reconfigure init-select" in order to install and configure systemd.

Reply to: