Debian Bug report logs - #607411
installkernel should run-parts /etc/kernel/postinst.d

version graph

Package: debianutils; Maintainer for debianutils is Clint Adams <clint@debian.org>; Source for debianutils is src:debianutils (PTS, buildd, popcon).

Reported by: Ben Hutchings <ben@decadent.org.uk>

Date: Sat, 18 Dec 2010 02:03:01 UTC

Severity: wishlist

Tags: patch

Found in version debianutils/3.4.2

Fixed in version debianutils/3.4.3

Done: Clint Adams <clint@gnu.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-kernel@lists.debian.org, Clint Adams <clint@gnu.org>:
Bug#607411; Package debianutils. (Sat, 18 Dec 2010 02:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
New Bug report received and forwarded. Copy sent to debian-kernel@lists.debian.org, Clint Adams <clint@gnu.org>. (Sat, 18 Dec 2010 02:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ben Hutchings <ben@decadent.org.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: installkernel should run-parts /etc/kernel/postinst.d
Date: Sat, 18 Dec 2010 02:01:12 +0000
Package: debianutils
Version: 3.4.2
Severity: wishlist
Tags: patch

Kernel packages are supposed to run hook scripts as per
<http://kernel-handbook.alioth.debian.org/ch-update-hooks.html>.

It probably makes sense to have installkernel do that as well, so
that any required initramfs or boot loader updates are done.  The
change is quite simple; see below.

Ben.

--- a/installkernel
+++ b/installkernel
@@ -64,10 +64,11 @@
 }
 
 if [ "$(basename $img)" = "vmlinux" ] ; then
-  updatever vmlinux "$img"
+  img_dest=vmlinux
 else
-  updatever vmlinuz "$img"
+  img_dest=vmlinuz
 fi
+updatever $img_dest "$img"
 updatever System.map "$map"
 
 config=$(dirname "$map")
@@ -75,5 +76,8 @@
 if [ -f "$config" ] ; then
   updatever config "$config"
 fi
+
+run-parts --verbose --exit-on-error --arg="$ver" --arg="$dir/$img_dest-$ver" \
+  /etc/kernel/postinst.d
  
 exit 0
--- END ---

-- System Information:
Debian Release: squeeze/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debianutils depends on:
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  sensible-utils                0.0.6      Utilities for sensible alternative

debianutils recommends no packages.

debianutils suggests no packages.

-- no debconf information




Reply sent to Clint Adams <clint@gnu.org>:
You have taken responsibility. (Tue, 18 Jan 2011 21:21:32 GMT) (full text, mbox, link).


Notification sent to Ben Hutchings <ben@decadent.org.uk>:
Bug acknowledged by developer. (Tue, 18 Jan 2011 21:21:32 GMT) (full text, mbox, link).


Message #10 received at 607411-close@bugs.debian.org (full text, mbox, reply):

From: Clint Adams <clint@gnu.org>
To: 607411-close@bugs.debian.org
Subject: Bug#607411: fixed in debianutils 3.4.3
Date: Tue, 18 Jan 2011 21:17:06 +0000
Source: debianutils
Source-Version: 3.4.3

We believe that the bug you reported is fixed in the latest version of
debianutils, which is due to be installed in the Debian FTP archive:

debianutils_3.4.3.dsc
  to main/d/debianutils/debianutils_3.4.3.dsc
debianutils_3.4.3.tar.gz
  to main/d/debianutils/debianutils_3.4.3.tar.gz
debianutils_3.4.3_amd64.deb
  to main/d/debianutils/debianutils_3.4.3_amd64.deb



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 607411@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Clint Adams <clint@gnu.org> (supplier of updated debianutils 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 18 Jan 2011 15:29:35 -0500
Source: debianutils
Binary: debianutils
Architecture: source amd64
Version: 3.4.3
Distribution: unstable
Urgency: low
Maintainer: Clint Adams <clint@gnu.org>
Changed-By: Clint Adams <clint@gnu.org>
Description: 
 debianutils - Miscellaneous utilities specific to Debian
Closes: 607411
Changes: 
 debianutils (3.4.3) unstable; urgency=low
 .
   * Patch from Ben Hutchings to have installkernel run hook scripts.
     closes: #607411.
Checksums-Sha1: 
 26883ac58edc3d45ed3f2e410fc74fb95390f560 1528 debianutils_3.4.3.dsc
 4078d2c389734e426ea40316e7aeef41a6d84333 155138 debianutils_3.4.3.tar.gz
 e6d568ab5fd1fbaf2aa1ac69d26ea878b4db1ffe 57242 debianutils_3.4.3_amd64.deb
Checksums-Sha256: 
 383506f2f739eb1aa6fbc6b5715b87a7932ce8232d86805e6c9a9d746be5cb3f 1528 debianutils_3.4.3.dsc
 4ed0eafcdfae7eb1249e31397e5827b58bafc9e288e7829055564ce5ff1afa0c 155138 debianutils_3.4.3.tar.gz
 b36d7c22c7e4df684107b5a0a23303b484fcbfcb9c4597f5468024ee74b30ac3 57242 debianutils_3.4.3_amd64.deb
Files: 
 428a86c45fd8e92a723487580fbc43fb 1528 utils required debianutils_3.4.3.dsc
 dbc62e9219b58054ab5e707d8af9910d 155138 utils required debianutils_3.4.3.tar.gz
 ec4cb6b7f692803696a37e97ad1db431 57242 utils required debianutils_3.4.3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Debian!

iQIcBAEBCgAGBQJNNfxtAAoJEFWSMx4ZnTio0rsP/3j1JM3WSvP+SvncWGuK6VxA
sBONGIUXjFYIAsx7gfUzOmG3IlmPdzIMZ1SNLFXmL5NP7Oc9ecaOCCFiMSzz4Bu3
Z2NHxJc20c5x5aILAQI5HdHgcz2m02rxUiWfo92+vHWUCziB2C86yphtgL7dXt74
7x0nKBYZpD5Ky5sNmoyrcy6dnEZ1MbqInxV0vX2H8VG/GbODfYB1CWekn7/mfkKU
Zyngk4a4w5rG9wfSK2n1fbeeG2X3aPJlVmXc12jkBNLF3Hui7EXJCThz78WB2KbS
j7k/irCle6WM66HFTPfOJDq/WNJsteFO9K3YK2rN/pxSmWK0R4WYHyrgA6cyCDkS
MgeJa69ZFzcn8/2b+7wDexPOvmFMABhamjEaTEsPLTC1L5FoVhR9GD/ED6Lhkf/Q
RyWl+0yR4LlbDG7W5Hb0nlaYjyg9PRAj78oRzYq02oOoaos7GGYf1pqCqxOY6nZD
XqA1o5vzij2El0GTlqBsDy4prixbFV/TChi6HWx4T2HO/JwcJsNdFGj4eOR9nbwq
gL02pJrUpbg6mzHvnrWL4848hVLevJNtYwl9QJPj+Pt1IE6+KwV8p3hSb56RYNA9
uOk7RsR2RKCNLadI6nPucu63m7/ew7wgTDXSHo0E+Ljbg8yo5FRcA9MYJ0Dm3pxF
FtGY1mTLMV6rioaS6nAt
=5dCt
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 21 Feb 2011 07:32:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 7 17:36:31 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.