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

Bug#659752: marked as done (initramfs-tools: patch for copy_exec - quote ${src} and add pattern for nonoptimized libraries on multiarch)



Your message dated Mon, 09 Jul 2012 17:32:29 +0000
with message-id <E1SoHoz-0001r7-PA@franck.debian.org>
and subject line Bug#659752: fixed in initramfs-tools 0.107
has caused the Debian Bug report #659752,
regarding initramfs-tools: patch for copy_exec - quote ${src} and add pattern for nonoptimized libraries on multiarch
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.)


-- 
659752: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659752
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.99
Severity: minor


Hello,

initramfs-tools hook-functions has copy_exec function needs some
updates.

There is one unquoted occurence of ${src} and the pattern for
nonoptimized libraries does not match multiarch libraries.

It does not match multilib libraries in /lib32 and /lib64 but those are
rare and should not multiply. The only library that is installed in
/lib32/i586 and /lib32/i686/cmov is libssl on mu system.

Note that for x in ... does not handle spaces in library paths but I am
not particularly concerned.


--- a/hook-functions	2011-08-04 15:50:12.000000000 +0200
+++ b/hook-functions	2012-02-13 16:00:41.000000000 +0100
@@ -126,7 +126,7 @@
 	cp -pL "${src}" "${DESTDIR}/${target}"
 
 	# Copy the dependant libraries
-	for x in $(ldd ${src} 2>/dev/null | sed -e '
+	for x in $(ldd "${src}" 2>/dev/null | sed -e '
 		/\//!d;
 		/linux-gate/d;
 		/=>/ {s/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/};
@@ -136,6 +136,7 @@
 		# We assume that all HWCAP libraries will be in tls,
 		# sse2, vfp or neon.
 		nonoptlib=$(echo "${x}" | sed -e 's#/lib/\(tls\|i686\|sse2\|neon\|vfp\).*/\(lib.*\)#/lib/\2#')
+		nonoptlib=$(echo "${nonoptlib}" | sed -e 's#-linux-gnu/\(tls\|i686\|sse2\|neon\|vfp\).*/\(lib.*\)#-linux-gnu/\2#')
 
 		if [ -e "${nonoptlib}" ]; then
 			x="${nonoptlib}"



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

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

Debian distribution maintenance software
pp.
Adam Conrad <adconrad@0c3.net> (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: Mon, 09 Jul 2012 11:07:21 -0600
Source: initramfs-tools
Binary: initramfs-tools
Architecture: all source
Version: 0.107
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Adam Conrad <adconrad@0c3.net>
Closes: 638068 659752 677157
Launchpad-Bugs-Fixed: 889584
Description: 
 initramfs-tools - generic modular initramfs generator
Changes: 
 initramfs-tools (0.107) unstable; urgency=low
 .
   [ Michal Suchanek ]
   * initramfs-tools: copy_exec quote ${src}
   * initramfs-tools: copy_exec add pattern for nonoptimized multiarch
     libraries (Closes: #659752)
 .
   [ Vagrant Cascadian ]
   * initramfs-tools Don't override root=/dev/nfs by BOOT=local config
     (Closes: #677157)
 .
   [ Adam Conrad ]
   * hooks/klibc: Make us play more nicely with busybox and static bin/sh
     (Closes: #638068)
   * Kernel versions aren't (necessarily) package versions, so redirect
     the whining from dpkg --compare-versions to /dev/null to avoid scary
     (and incorrect) warnings. (LP: #889584)
Checksums-Sha1: 
 84ee3fa3f463dd442c79f9cc6139f436134358fe 1052 initramfs-tools_0.107.dsc
 1e258bc0d20423ab700814b25e33ffedb662a52e 84681 initramfs-tools_0.107.tar.gz
 b077905498d5ec60fafce1dfb486def4f5025e70 90350 initramfs-tools_0.107_all.deb
Checksums-Sha256: 
 ffd4b8d0a6995ee65258a0c5b4abe7ef3f1c6c4244147cebc0e4bcfcc624cf69 1052 initramfs-tools_0.107.dsc
 354c37fe550b174ac219b6386ec5ea829ca1de66cc2b8e94fea96b3d77c8b2f3 84681 initramfs-tools_0.107.tar.gz
 964fc74473057eb9c46b61e4bc9c1359525c004773fcca872160a021057af6c6 90350 initramfs-tools_0.107_all.deb
Files: 
 e9c790e9703e3ed63497fee29160faec 1052 utils optional initramfs-tools_0.107.dsc
 8e8c39bbdf51c85a3045c35c15084baa 84681 utils optional initramfs-tools_0.107.tar.gz
 d9e11e8b225849d41f7a9aecee189f90 90350 utils optional initramfs-tools_0.107_all.deb

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

iEYEARECAAYFAk/7EpcACgkQvjztR8bOoMnMlACg+aSQwhmjAn9bBXkMqR4uzltE
imEAoJZJkdVtnUa4YXFHCxZetSJksq0q
=Ptgg
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: