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

Bug#296894: marked as done (initrd-tools: function module_exist doesn't recognize modules in subdirs)



Your message dated Fri, 13 May 2005 23:21:23 -0700
with message-id <20050514062120.GC12173@mauritius.dodds.net>
and subject line [vorlon@debian.org: Fixed in NMU of initrd-tools 0.1.79]
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Feb 2005 13:30:22 +0000
>From pollmeier@gonicus.de Fri Feb 25 05:30:22 2005
Return-path: <pollmeier@gonicus.de>
Received: from dns-2.dinet.de (mail-2.dinet.de) [212.8.6.1] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D4fXx-0003NI-00; Fri, 25 Feb 2005 05:30:22 -0800
Received: by mail-2.dinet.de (Postfix, from userid 1001)
	id 088FD2CC248; Fri, 25 Feb 2005 14:30:17 +0100 (CET)
Received: from ots-2.gonicus.local (carbon.gonicus.de [212.8.6.6])
	by mail-2.dinet.de (Postfix) with ESMTP id 15FA52CC247
	for <submit@bugs.debian.org>; Fri, 25 Feb 2005 14:30:17 +0100 (CET)
Received: from cajus by ots-2.gonicus.local with local (Exim 3.36 #1 (Debian))
	id 1D4fXs-0007z2-00
	for <submit@bugs.debian.org>; Fri, 25 Feb 2005 14:30:16 +0100
Content-Type: multipart/mixed; boundary="===============1298931265=="
MIME-Version: 1.0
From: Cajus Pollmeier <pollmeier@gonicus.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: initrd-tools: function module_exist doesn't recognize modules in subdirs
X-Mailer: reportbug 3.8
Date: Fri, 25 Feb 2005 14:30:16 +0100
Message-Id: <E1D4fXs-0007z2-00@ots-2.gonicus.local>
Sender: Cajus Pollmeier <pollmeier@gonicus.de>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1298931265==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: initrd-tools
Version: 0.1.77
Severity: normal

While playing around with virtual scsi drivers, I noticed that modules
that are not directly located inside drivers/scsi where not found by
the script.

The attached patch solves this problem.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages initrd-tools depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  cpio                          2.5-1.2    GNU cpio -- a program to manage ar
ii  cramfsprogs                   1.1-6      Tools for CramFs (Compressed ROM F
ii  dash                          0.5.2-1    The Debian Almquist Shell
ii  fileutils                     5.2.1-2    The GNU file management utilities 
ii  util-linux                    2.12-10    Miscellaneous system utilities

-- no debconf information

--===============1298931265==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="mkinitrd.patch"

--- mkinitrd	2005-01-23 19:37:41.000000000 +0100
+++ mkinitrd.patched	2005-02-25 14:10:50.919976624 +0100
@@ -413,7 +413,7 @@
 }
 
 module_exists() {
-	[ -f "$MODULEDIR/kernel/$1.$o" ]
+	[ -n "$(find "$MODULEDIR/kernel/${1%%/*}" -name "${1##*/}.$o")" ]
 }
 
 print_module() {

--===============1298931265==--

---------------------------------------
Received: (at 296894-done) by bugs.debian.org; 14 May 2005 06:21:27 +0000
>From vorlon@debian.org Fri May 13 23:21:27 2005
Return-path: <vorlon@debian.org>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net (localhost.localdomain) [66.93.39.86] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DWq1c-0008Up-00; Fri, 13 May 2005 23:21:24 -0700
Received: by localhost.localdomain (Postfix, from userid 1000)
	id 67E54172CDB; Fri, 13 May 2005 23:21:23 -0700 (PDT)
Date: Fri, 13 May 2005 23:21:23 -0700
From: Steve Langasek <vorlon@debian.org>
To: 266591-done@bugs.debian.org, 279382-done@bugs.debian.org,
	285767-done@bugs.debian.org, 290329-done@bugs.debian.org,
	291386-done@bugs.debian.org, 292080-done@bugs.debian.org,
	295412-done@bugs.debian.org, 295422-done@bugs.debian.org,
	296894-done@bugs.debian.org, 297724-done@bugs.debian.org,
	298727-done@bugs.debian.org, 301455-done@bugs.debian.org,
	303281-done@bugs.debian.org, 303401-done@bugs.debian.org,
	306219-done@bugs.debian.org
Subject: [vorlon@debian.org: Fixed in NMU of initrd-tools 0.1.79]
Message-ID: <20050514062120.GC12173@mauritius.dodds.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="1ccMZA6j1vT5UqiK"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: 296894-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.0 required=4.0 tests=BAYES_00,SORTED_RECIPS,
	VALID_BTS_CONTROL autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 9


--1ccMZA6j1vT5UqiK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

These bugs were all closed in the most recent initrd-tools upload, but owing
to pilot error, were not marked as such.  The original closure message was
as follows.

Cheers,
--=20
Steve Langasek
postmodern programmer

----- Forwarded message from Steve Langasek <vorlon@debian.org> -----

X-Original-To: vorlon@dodds.net
=46rom: Steve Langasek <vorlon@debian.org>
To: control@bugs.debian.org
Cc: Steve Langasek <vorlon@debian.org>,
	Debian kernel team <debian-kernel@lists.debian.org>
X-Katie: $Revision: 1.55 $
Subject: Fixed in NMU of initrd-tools 0.1.79
Date: Sat, 14 May 2005 01:32:13 -0400
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on norad.dodds.net
X-Spam-Level:=20
X-Spam-Status: No, score=3D-2.6 required=3D5.0 tests=3DBAYES_00 autolearn=
=3Dham=20
	version=3D3.0.2

tag 266591 + fixed
tag 279382 + fixed
tag 285767 + fixed
tag 290329 + fixed
tag 291386 + fixed
tag 292080 + fixed
tag 295412 + fixed
tag 295422 + fixed
tag 296894 + fixed
tag 297724 + fixed
tag 298727 + fixed
tag 301455 + fixed
tag 303281 + fixed
tag 303401 + fixed
tag 306219 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload.  The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 13 May 2005 21:25:52 -0700
Source: initrd-tools
Binary: initrd-tools
Architecture: source all
Version: 0.1.79
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Steve Langasek <vorlon@debian.org>
Description:=20
 initrd-tools - tools to create initrd image for prepackaged Linux kernel
Closes: 266591 279382 285767 290329 291386 292080 295412 295422 296894 2977=
24 298727 301455 303281 303401 306219
Changes:=20
 initrd-tools (0.1.79) unstable; urgency=3Dhigh
 .
   * Steve Langasek
     - Don't be so hasty to use lvm10: only use it if lvmiopversion
       says we're lvm10-only, *or* there's no dm-mod for the kernel;
       this avoids breaking lvm2 volumes in 2.4 when the lvm10 package
       is installed.  Closes: #291386.
     - Add myself to uploaders.
   * GOTO Masanori
     - Make mkinitrd work with new ldd format which change is introduced
       in glibc 2.3.4.  (Closes: #301455, #303281)
       This change also fixes amd64 mkinitrd breakage.
       (Closes: #279382, #292080, #295412, #295422, #297724)
   * Maximilian Attems
     - Resynchronise with Ubuntu:
       * Error message should refer to mdadm, not raidtools2.
       * Take /etc/mkinitrd/DSDT and put it in the initrd if it exists.
       * Use mktemp, not $$ for creating temporary directories.
     - Function module_exist recognizes modules in subdirs. Closes: #296894
     - Fix upgrade path from woody for sparc arch. thanks to
       Jurij Smakov <jurij@wooyd.org> Closes: #306219
     - Use libdevmapper1.01 Closes: #266591, #298727, #303401
     - Fix permissions of the initrd files. thanks to patch for debian/rules
       from Horms <horms@debian.org> Closes: #285767
   * Sven Luther
     - Powerpc now defaults to MODULES=3Ddep. (Closes: #290329)
Files:=20
 d55fad2edd46b490476c6e640037e622 608 utils optional initrd-tools_0.1.79.dsc
 048265f342b32440466b256296878af8 27103 utils optional initrd-tools_0.1.79.=
tar.gz
 6180afbac9c9516ec2ce696b4c8b237d 29558 utils optional initrd-tools_0.1.79_=
all.deb

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

iD8DBQFChYpTKN6ufymYLloRArmxAJ96ibimA1H8yQI3sjosX6nQyoRCngCglJ9/
NJ1vAGYLxonkH4h3dY1TPis=3D
=3Dgt9k
-----END PGP SIGNATURE-----

----- End forwarded message -----

--1ccMZA6j1vT5UqiK
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFChZjdKN6ufymYLloRAh/aAKCUibLxWjHdzA2tuJL7cfz8YOHi9ACffIh9
MehFc/TKvmzF4JAlLq4Z84g=
=kBEU
-----END PGP SIGNATURE-----

--1ccMZA6j1vT5UqiK--



Reply to: