Your message dated Mon, 13 Apr 2009 17:47:05 +0000
with message-id <[email protected]>
and subject line Bug#523864: fixed in kernel-package 12.007
has caused the Debian Bug report #523864,
regarding postinst.d/initramfs: DEB_MAINT_PARAMS break $1 used for 
update-initramfs
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.)


-- 
523864: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523864
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kernel-package
Version: 12.005
Severity: normal

Hi,

In postinst.d/initramfs found in the examples scripts, the following:
if [ -n "$DEB_MAINT_PARAMS" ]; then
    eval set -- "$DEB_MAINT_PARAMS"
    if [ -z "$1" ] || [ "$1" != "configure" ]; then
        exit 0;
    fi
fi

gives the value "configure" to $1 for 
update-initramfs -c -t -k "$version" $bootarg

It is needed to save the kernel version before

Patch attached

Regards

Jean-Luc



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-k8-2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kernel-package depends on:
ii  binutils              2.19.51.20090315-1 The GNU assembler, linker and bina
ii  build-essential       11.4               Informational list of build-essent
ii  debianutils           3.0.1              Miscellaneous utilities specific t
ii  file                  5.00-1             Determines file type using "magic"
ii  gettext               0.17-6             GNU Internationalization utilities
ii  make                  3.81-5             The GNU version of the "make" util
ii  module-init-tools     3.7-pre9-1         tools for managing Linux kernel mo
ii  po-debconf            1.0.16             tool for managing templates file t
ii  util-linux            2.13.1.1-1         Miscellaneous system utilities

kernel-package recommends no packages.

Versions of packages kernel-package suggests:
ii  bzip2                     1.0.5-1        high-quality block-sorting file co
ii  docbook-utils             0.6.14-1.1     Convert Docbook files to other for
ii  e2fsprogs                 1.41.3-1       ext2/ext3/ext4 file system utiliti
ii  initramfs-tools [linux-in 0.93.2         tools for generating an initramfs
pn  libdb3-dev                <none>         (no description available)
ii  libncurses5-dev [libncurs 5.7+20090404-1 developer's libraries and docs for
ii  linux-source-2.6.29 [linu 2.6.29-2       Linux kernel source for version 2.
ii  xmlto                     0.0.22-1       XML-to-any converter

-- no debconf information
--- /usr/share/kernel-package/examples/etc/kernel/postinst.d/initramfs  
2009-04-13 00:15:57.000000000 +0200
+++ /etc/kernel/postinst.d/initramfs    2009-04-13 08:44:28.921252123 +0200
@@ -17,6 +17,9 @@
     bootarg="-b $boot"
 fi
 
+# Save kernel version
+version=$1
+
 if [ -n "$DEB_MAINT_PARAMS" ]; then
     eval set -- "$DEB_MAINT_PARAMS"
     if [ -z "$1" ] || [ "$1" != "configure" ]; then
@@ -27,5 +30,5 @@
 
 
 # 
-update-initramfs -c -t -k "$1" $bootarg
+update-initramfs -c -t -k "$version" $bootarg
 

--- End Message ---
--- Begin Message ---
Source: kernel-package
Source-Version: 12.007

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

kernel-package_12.007.dsc
  to pool/main/k/kernel-package/kernel-package_12.007.dsc
kernel-package_12.007.tar.gz
  to pool/main/k/kernel-package/kernel-package_12.007.tar.gz
kernel-package_12.007_all.deb
  to pool/main/k/kernel-package/kernel-package_12.007_all.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <[email protected]> (supplier of updated kernel-package 
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: Mon, 13 Apr 2009 12:26:35 -0500
Source: kernel-package
Binary: kernel-package
Architecture: source all
Version: 12.007
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[email protected]>
Changed-By: Manoj Srivastava <[email protected]>
Description: 
 kernel-package - A utility for building Linux kernel related Debian packages.
Closes: 523864 523921
Changes: 
 kernel-package (12.007) unstable; urgency=low
 .
   * [324ee53]: Fix the psotinst.d initramfs, like we did the postrm.d
     This one slipped through the cracks. We need to preserve the
     arguments to the script before we blow them away to replace them
     with the maintainer script arguments.
     Bug fix: "DEB_MAINT_PARAMS break $1 used for update-initramfs", thanks
     to Jean-Luc Coulon (f5ibh)                           (Closes: #523864).
   * [ae942fc]: Put the vmlinux and System.map in the correct location
     Putting them in unversioned dorectories was a mistake, a carry over
     from when the debug package isntalled the stuff in
     /usr/lib/linux-debian-$version instead of /usr/lib/debug.
     Bug fix: "vmlinux in incorrect location", thanks to Євгеній Мещеряков
                                                          (Closes: #523921).
Checksums-Sha1: 
 6103852f0a1e8fcb50de0573251fe7e98f2364c8 900 kernel-package_12.007.dsc
 14a5ffd119e219f3a033b037352ea801a36e2682 561164 kernel-package_12.007.tar.gz
 a321140a67ee969aa1d3c14551e543d8da6dac9e 507370 kernel-package_12.007_all.deb
Checksums-Sha256: 
 b19c9166d44fff26c020d2ff442324abaf45a10a1e86b3d26b23e52f854653c3 900 
kernel-package_12.007.dsc
 c07a469e0c95cb317c8713f18d9a0f94f6649f9769e66833ca6d916b49eca438 561164 
kernel-package_12.007.tar.gz
 62208fa2467f4b99772b5de6cffc65cc935a58fa5ec42e11b05aea2b0c73cb1c 507370 
kernel-package_12.007_all.deb
Files: 
 65c618be466e9e6a89e58f7bf4aa22f3 900 misc optional kernel-package_12.007.dsc
 1cc57e242da259e42c59a2f869b20de9 561164 misc optional 
kernel-package_12.007.tar.gz
 1b7ec5bd73f0cff22d18b4ca29b14495 507370 misc optional 
kernel-package_12.007_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknjea8ACgkQIbrau78kQkw/ogCeJWTzLEeFFs1h+piIb0fG6GkU
JiYAn10vsqAjsSi6lXqlKGnJmscpeRjV
=ebPD
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to