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

Bug#374185: marked as done (mkvmlinuz: syntax errors in script)



Your message dated Tue, 04 Jul 2006 16:17:19 -0700
with message-id <E1Fxu8t-0008Dt-87@spohr.debian.org>
and subject line Bug#374185: fixed in mkvmlinuz 23
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)

--- Begin Message ---
Package: mkvmlinuz
Version: 22
Severity: grave
Justification: make package in question unusable

Hi,

mkvmlinuz currently fails to work at all. There are a number of syntax
errors in the script, which would need to be fixed before it can ever
hope to run successfully. Did whoever uploaded this actually test it
before uploading?

Anyway. Patch follows:

--- mkvmlinuz.orig	2006-06-17 20:03:05.000000000 +0200
+++ /usr/sbin/mkvmlinuz	2006-06-17 20:13:40.000000000 +0200
@@ -60,7 +60,7 @@
 esac
 
 # use non-option arguments as release version and kernel image file if needed
-shift $((OPTIND-1))
+shift $(( $OPTIND - 1 ))
 if test -z "$release" -a -n "$1"; then
     release=$1
 fi
@@ -115,7 +115,8 @@
 if test -z "$noinitrd" -a -z "$initrd"; then
 
     # guess the location of an initrd, but don't try too hard
-    if initrd=${kernel/vmlinux/initrd.img}; test -r $initrd; then
+    initrd=$(echo $kernel | sed -e 's/vmlinux/initrd.img/')
+    if test -r $initrd; then
 	:
     else
 	initrd=""

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-powerpc
Locale: LANG=nl_BE.UTF-8@euro, LC_CTYPE=nl_BE.UTF-8@euro (charmap=UTF-8)

Versions of packages mkvmlinuz depends on:
ii  binutils             2.16.1cvs20060413-1 The GNU assembler, linker and bina
ii  debconf [debconf-2.0 1.5.2               Debian configuration management sy

mkvmlinuz recommends no packages.

-- debconf information excluded


--- End Message ---
--- Begin Message ---
Source: mkvmlinuz
Source-Version: 23

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

mkvmlinuz_23.dsc
  to pool/main/m/mkvmlinuz/mkvmlinuz_23.dsc
mkvmlinuz_23.tar.gz
  to pool/main/m/mkvmlinuz/mkvmlinuz_23.tar.gz
mkvmlinuz_23_powerpc.deb
  to pool/main/m/mkvmlinuz/mkvmlinuz_23_powerpc.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 374185@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sven Luther <luther@debian.org> (supplier of updated mkvmlinuz 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: Tue,  4 Jul 2006 22:04:50 +0200
Source: mkvmlinuz
Binary: mkvmlinuz
Architecture: source powerpc
Version: 23
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Sven Luther <luther@debian.org>
Description: 
 mkvmlinuz  - create a kernel to boot a PowerPC machine from Open Firmware
Closes: 260219 374185
Changes: 
 mkvmlinuz (23) unstable; urgency=low
 .
   * Fallback arch/powerpc/boot object files for chrp kernels without mkvmlinuz
     support. This uses the 2.6.16+ code, but should work with any 2.6 kernel.
   * Now supports the creation of a /boot/vmlinuz symlink to the last created
     vmlinuz kernel. (Closes: #260219)
   * Now uses /bin/bash as interpeter, as we use bashisms. (Closes: #374185)
Files: 
 0fba890ae01c41967dac1d1b2954f361 572 devel optional mkvmlinuz_23.dsc
 22850262534a6a35f90c477b2cef184b 113743 devel optional mkvmlinuz_23.tar.gz
 f43885068a02e5fd2328a388955ddb43 36276 devel optional mkvmlinuz_23_powerpc.deb

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

iD8DBQFEqvUX2WTeT3CRQaQRAh6HAJ4yqPTcI7RtJN5wEV/5jfFwcsf6FACgilE0
O8yqLIZ0N6QiYF073Ki4b0c=
=cdl+
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: