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

Bug#664171: marked as done (initramfs-tools: initrd cannot be easily disabled when not using kernel-package)



Your message dated Fri, 21 Sep 2012 11:03:00 +0000
with message-id <E1TF10e-00017H-Db@franck.debian.org>
and subject line Bug#664171: fixed in initramfs-tools 0.108
has caused the Debian Bug report #664171,
regarding initramfs-tools: initrd cannot be easily disabled when not using kernel-package
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 owner@bugs.debian.org
immediately.)


-- 
664171: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664171
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.100
Severity: normal
Tags: patch

Dear Maintainer,

when creating kernel package by other means than make-kpkg
(e.g. using the kernel's make deb-pkg target), initrd creation
cannot be disabled easily, since the appropriate script checks
whether $KERNEL_PACKAGE_VERSION is set, for a reason that seems
entirely unclear to me. The patch below removes the superfluous
check:


diff --git a/kernel/postinst.d/initramfs-tools b/kernel/postinst.d/initramfs-tools
index 76bb7ee..42474c7 100755
--- a/kernel/postinst.d/initramfs-tools
+++ b/kernel/postinst.d/initramfs-tools
@@ -9,8 +9,8 @@ if [ -z "${version}" ]; then
 	exit 2
 fi
 
-# exit if custom kernel does not need an initramfs
-if [ -n "${KERNEL_PACKAGE_VERSION}" ] && [ "$INITRD" = 'No' ]; then
+# exit if kernel does not need an initramfs
+if [ "$INITRD" = 'No' ]; then
 	exit 0
 fi
 


(As a followup, I have a straightforward patch for the kernel ready
that allows easily disabling initrd when invoking make deb-kpkg;
but the patch cannot work as-is before this change without also
setting fake KERNEL_PACKAGE_VERSION, which might confuse some other
script.)


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio               2.11-7
ii  findutils          4.4.2-4
ii  klibc-utils        2.0~rc3-1
ii  module-init-tools  3.16-1
ii  udev               175-3.1

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.19.3-5

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:1.99-3

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.108

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.

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

Debian distribution maintenance software
pp.
Michael Prokop <mika@debian.org> (supplier of updated initramfs-tools 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: SHA1

Format: 1.8
Date: Fri, 21 Sep 2012 12:10:28 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.108
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Michael Prokop <mika@debian.org>
Description: 
 initramfs-tools - generic modular initramfs generator
Closes: 619711 664171 682340
Changes: 
 initramfs-tools (0.108) unstable; urgency=low
 .
   [ maximilian attems ]
   * [a8420de] hook-functions: add hid-generic module (Closes: #682340)
   * [9723143] debian/control: Scratch 2.6 mention
 .
   [ Petr Baudis ]
   * [1d6b272] initramfs-tools: allow disabling initrd for make deb-pkg
     (Closes: #664171)
 .
   [ Michael Prokop ]
   * [0ffc800] Use setupcon to install system's keymap. Thanks to
     Andreas Altergott <andreasaltergott@googlemail.com> for the initial
     patch. Thanks to Raphaël Hertzog <hertzog@debian.org> for testing,
     feedback and review. (Closes: #619711)
Checksums-Sha1: 
 7f57efd8b112c150e1d0f67d0726e8dfa3607cfb 1052 initramfs-tools_0.108.dsc
 0fea1ed898d64b4ce72faf9513c1603f83c36041 85131 initramfs-tools_0.108.tar.gz
 304252da50bf6156037cfe1bb4d1c6b6936b5aae 91098 initramfs-tools_0.108_all.deb
Checksums-Sha256: 
 3eddead65002d095883ae31590b71895be2e8f2fa588aa3506444e7c0cfe1b39 1052 initramfs-tools_0.108.dsc
 f6e5c0feeea94698257462a882b915f835d9ffa2e76bc9e9a8bf3000d09c3e84 85131 initramfs-tools_0.108.tar.gz
 cf1398f3381d30eddebe2bde572aef3f591d49eaafc3420b4b6294bc9422c840 91098 initramfs-tools_0.108_all.deb
Files: 
 4a8ec6283d0a796d2be2a220b835ce2e 1052 utils optional initramfs-tools_0.108.dsc
 66795295972b5980aef59d0aceeace94 85131 utils optional initramfs-tools_0.108.tar.gz
 ee6bd35d53574271723b782deed46d23 91098 utils optional initramfs-tools_0.108_all.deb

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

iEYEARECAAYFAlBcRgkACgkQ2N9T+zficujwpACfSKS6N/NMYkjKZcMv0TTAuO+q
OuYAnifnzxbP1t6UQSmaOn76Yg/1pHx1
=kvb5
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: