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

Bug#335505: marked as done (initramfs-tools: initramfs/conf/modules contains the list of current directory)



Your message dated Wed, 26 Oct 2005 01:17:05 -0700
with message-id <E1EUgT3-0002IW-00@spohr.debian.org>
and subject line Bug#335505: fixed in initramfs-tools 0.37
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; 24 Oct 2005 10:45:17 +0000
>From delepine@nnx.com Mon Oct 24 03:45:17 2005
Return-path: <delepine@nnx.com>
Received: from jcd.fdn.fr (orcal.delepine.info) [80.67.176.3] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1ETzpL-0000b0-00; Mon, 24 Oct 2005 03:45:16 -0700
Received: from localhost (localhost [127.0.0.1])
	by orcal.delepine.info (Postfix) with ESMTP id 5DD7E1BAF0;
	Mon, 24 Oct 2005 12:25:11 +0200 (CEST)
Received: from orcal.delepine.info ([127.0.0.1])
	by localhost (orcal [127.0.0.1]) (amavisd-new, port 10024) with LMTP
	id 02304-08; Mon, 24 Oct 2005 12:24:37 +0200 (CEST)
Received: from localhost.localdomain (unknown [10.80.137.43])
	by orcal.delepine.info (Postfix) with ESMTP id A8CE71BAEE;
	Mon, 24 Oct 2005 12:24:36 +0200 (CEST)
Content-Type: multipart/mixed; boundary="===============1738607543=="
MIME-Version: 1.0
From: Jean Charles Delepine <delepine@nnx.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: initramfs-tools: initramfs/conf/modules contains the list of current
 directory
X-Mailer: reportbug 3.17
Date: Mon, 24 Oct 2005 12:44:21 +0200
Message-Id: <[🔎] 20051024102436.A8CE71BAEE@orcal.delepine.info>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at delepine.info
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-Level: 
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

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

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

Package: initramfs-tools
Version: 0.32
Severity: important
Tags: patch

In /usr/share/initramfs-tools/hooks/kernelextras man can see :

for x in ${MODULESDIR}/initrd/*; do
        x=${x##*/}
        x=${x%.*}
        case ${x} in
        *fb)
                fbcon=y
                ;;
        esac

        force_load ${x}
done

if ${MODULESDIR}/initrd/ doesn't exist x=${x##*/} and x=${x%.*} are '*'. 
You sure don't want to force_load your current directory.

Here's a quick and dirty patch :

--- /usr/share/initramfs-tools/hooks/kernelextras	2005-10-24 11:49:21.000000000 +0200
+++ kernelextras	2005-10-24 12:34:41.000000000 +0200
@@ -23,17 +23,20 @@
 
 set -x
 
-for x in ${MODULESDIR}/initrd/*; do
-	x=${x##*/}
-	x=${x%.*}
-	case ${x} in
-	*fb)
-		fbcon=y
-		;;
-	esac
+if [ -d ${MODULESDIR}/initrd ]; then
+	for x in ${MODULESDIR}/initrd/*; do
+		x=${x##*/}
+		x=${x%.*}
+		case ${x} in
+		*fb)
+			fbcon=y
+			;;
+		esac
+	
+		force_load ${x}
+	done
+fi
 
-	force_load ${x}
-done
 
 if [ ${fbcon} = "y" ]; then
 	force_load fbcon

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.01-3   Tiny utilities for small and embed
ii  cpio                          2.6-7      GNU cpio -- a program to manage ar
ii  klibc-utils                   1.1.1-2    small statically-linked utilities 
ii  lvm2                          2.01.14-3  The Linux Logical Volume Manager
ii  mdadm                         1.12.0-1   tool to administer Linux md device
ii  mklibs-copy                   0.1.18     Shared library reduction script
ii  udev                          0.071-1    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information

--===============1738607543==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="diff"

--- /usr/share/initramfs-tools/hooks/kernelextras	2005-10-24 11:49:21.000000000 +0200
+++ kernelextras	2005-10-24 12:34:41.000000000 +0200
@@ -23,17 +23,20 @@
 
 set -x
 
-for x in ${MODULESDIR}/initrd/*; do
-	x=${x##*/}
-	x=${x%.*}
-	case ${x} in
-	*fb)
-		fbcon=y
-		;;
-	esac
+if [ -d ${MODULESDIR}/initrd ]; then
+	for x in ${MODULESDIR}/initrd/*; do
+		x=${x##*/}
+		x=${x%.*}
+		case ${x} in
+		*fb)
+			fbcon=y
+			;;
+		esac
+	
+		force_load ${x}
+	done
+fi
 
-	force_load ${x}
-done
 
 if [ ${fbcon} = "y" ]; then
 	force_load fbcon

--===============1738607543==--

---------------------------------------
Received: (at 335505-close) by bugs.debian.org; 26 Oct 2005 08:17:41 +0000
>From katie@spohr.debian.org Wed Oct 26 01:17:41 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EUgT3-0002IW-00; Wed, 26 Oct 2005 01:17:05 -0700
From: maximilian attems <maks@sternwelten.at>
To: 335505-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#335505: fixed in initramfs-tools 0.37
Message-Id: <E1EUgT3-0002IW-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Wed, 26 Oct 2005 01:17:05 -0700
Delivered-To: 335505-close@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-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: initramfs-tools
Source-Version: 0.37

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:

initramfs-tools_0.37.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.37.dsc
initramfs-tools_0.37.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.37.tar.gz
initramfs-tools_0.37_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.37_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 335505@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@sternwelten.at> (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.7
Date: Wed, 26 Oct 2005 09:22:58 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.37
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@sternwelten.at>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 335505 335801
Changes: 
 initramfs-tools (0.37) unstable; urgency=low
 .
   * scripts/functions, scripts/local-premount/suspend: Use of "stat"
     which isn' any more provided by busybox (1.01-3).
     Thanks to Adrian Bridgett <adrian@smop.co.uk> for the patch using awk.
     (Closes: #335801)
 .
   * hooks/kernelextras: Check for existence of ${MODULESDIR}/initrd/:
     Exit if it doesn't exist before including current dir.
     Thanks to Jean Charles Delepine <delepine@nnx.com> (Closes: #335505)
 .
   * hooks/lvm, hooks/md: Remove FIXME's at second thought.  You better want
     to check against the binaries for your not yet created raid/lvm.
Files: 
 46b7ba3b3ed766dea1624050280902cc 629 utils optional initramfs-tools_0.37.dsc
 79e5f2a658c6399c3c5c338283d9d019 24642 utils optional initramfs-tools_0.37.tar.gz
 5a08fd3c9cb754de5e9bf298eac50e89 28904 utils optional initramfs-tools_0.37_all.deb

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

iD8DBQFDXzlAdu+M6Iexz7URAhczAKDe2zK2cmHYyhgDTTD05+/sT4wrVgCg221i
Z9rr5w6p3UVb5yjuIRZ+h7c=
=eolg
-----END PGP SIGNATURE-----



Reply to: