[Kernel-handbook-general] [PATCH 6/7] Update hooks policy description

Ben Hutchings ben at decadent.org.uk
Sun Jun 17 05:03:33 UTC 2012


- Debian 6.0 release is now in the past
- initramfs-tools is no longer special
- squeeze+1 has a name and number
---
 chapter-update-hooks.sgml |   13 ++++---------
 debian/changelog          |    4 ++++
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/chapter-update-hooks.sgml b/chapter-update-hooks.sgml
index 039db6c..fd8881f 100644
--- a/chapter-update-hooks.sgml
+++ b/chapter-update-hooks.sgml
@@ -5,7 +5,7 @@
     maintainer scripts which can invoke the initramfs builder and/or a
     boot loader, based on a mixture of file tests, explicit
     configuration through the file <tt>/etc/kernel-img.conf</tt> and
-    debconf questions.  Starting with Debian 6.0, this will be greatly
+    debconf questions.  Starting with Debian 6.0, this has been greatly
     simplified.
   </p>
   <p>
@@ -103,12 +103,7 @@ exec </dev/null >&2
       <tt>/etc/kernel/postinst.d</tt> and
       <tt>/etc/kernel/postrm.d</tt>, to create/update and delete the
       corresponding initramfs images.  The postinst hook script must
-      complete its work before returning.  [<tt>initramfs-tools</tt>
-      currently uses a trigger to defer this because it may be
-      invoked twice, but this means it also has to know how to
-      update specific boot loaders.  This new requirement will allow
-      boot loader packages to avoid unnecessary updates, as
-      described in the following section.]
+      complete its work before returning.
     </p>
   </sect>
   <sect id="loader-optimisation">
@@ -145,8 +140,8 @@ exec </dev/null >&2
 	yes</tt> or equivalent, maintainer scripts that previously
       acted on this must warn that they are ignoring
       it.  <tt>linux-base</tt> must also warn on upgrade that the
-      default has changed.  In squeeze+1, this prohibition extends
-      to initramfs builder packages.
+      default has changed.  In Debian 7.0 'wheezy', this prohibition
+      extends to initramfs builder packages.
     </p>
   </sect>
   <sect id="init-config">
diff --git a/debian/changelog b/debian/changelog
index 0214e01..146629d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,10 @@ kernel-handbook (1.0.13) UNRELEASED; urgency=low
   * Remove an unnecessary version qualification
   * Update explanation of source directories for quilted linux package
   * Update example orig tarball names to indicate xz compression
+  * Update hooks policy description
+    - Debian 6.0 release is now in the past
+    - initramfs-tools is no longer special
+    - squeeze+1 has a name and number
 
  -- Ben Hutchings <ben at decadent.org.uk>  Fri, 16 Dec 2011 05:26:30 +0000
 
-- 
1.7.10.4



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/kernel-handbook-general/attachments/20120617/331a6137/attachment.pgp>


More information about the Kernel-handbook-general mailing list