Your message dated Mon, 09 Feb 2009 22:32:34 +0000
with message-id <[email protected]>
and subject line Bug#504834: fixed in memtest86 3.5-1
has caused the Debian Bug report #504834,
regarding memtest86: make-memtest86-boot-floppy: looks for grub in wrong places
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 [email protected]
immediately.)
--
504834: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504834
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: memtest86
Version: 3.4-2
Severity: minor
Tags: patch
File: /usr/bin/make-memtest86-boot-floppy
This is just a report of the same problems in memtest86 as those
described in bug reports #412255 and #451050 for memtest86+.
Specifically, the script make-memtest86-boot-floppy looks for grub in
/sbin when it really is in /usr/sbin and for the GRUB boot images in
/lib/grub instead of /usr/lib/grub. Also, on the amd64 architecture
the script will look for the boot images in the non-existent i386-pc
subdirectory in the latter directory instead of the x86_64-pc
subdirectory. I've attached a simple patch which is supposed to fix
this.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
memtest86 depends on no packages.
memtest86 recommends no packages.
Versions of packages memtest86 suggests:
ii grub 0.97-47 GRand Unified Bootloader (Legacy v
pn hwtools <none> (no description available)
pn kernel-patch-badram <none> (no description available)
ii memtest86+ 2.01-1 thorough real-mode memory tester
ii memtester 4.0.8-1 A utility for testing the memory s
ii mtools 3.9.11-1 Tools for manipulating MSDOS files
-- no debconf information
--- a/debian/make-memtest86-boot-floppy 2008-11-07 15:41:50.000000000 +0000
+++ b/debian/make-memtest86-boot-floppy 2008-11-07 15:50:39.000000000 +0000
@@ -30,7 +30,7 @@
[ $1 -ge 2 ] || error "syntax error"
}
-[ -d /lib/grub ] || error "Can't find /lib/grub - did you install a recent grub package (0.95+cvs20040624 or later) ?"
+[ -d /usr/lib/grub ] || error "Can't find /usr/lib/grub - did you install a recent grub package (0.95+cvs20040624 or later) ?"
[ -x /usr/bin/mformat ] || error "Can't find mformat - did you install the mtools package ?"
while [ $# -gt 0 ]
@@ -44,6 +44,13 @@
shift
done
+arch=$(dpkg --print-architecture)
+case "$arch" in
+ i386|?*-i386) host_cpu=i386;;
+ amd64|?*-amd64) host_cpu=x86_64;;
+ *) error "Unsupported architecture: $arch";;
+esac
+
MOUNTPOINT=$(mktemp -d)
if [ -b "$FLOPPYIMAGE" ]
@@ -75,8 +82,8 @@
title memtest
kernel (fd0)/boot/memtest.bin
EOF
-#mcopy -v -i "$FLOPPYIMAGE" /lib/grub/i386-pc/stage? ::/boot/grub
-mcopy -v -i "$FLOPPYIMAGE" /lib/grub/i386-pc/* ::/boot/grub
+#mcopy -v -i "$FLOPPYIMAGE" /usr/lib/grub/$host_cpu-pc/stage? ::/boot/grub
+mcopy -v -i "$FLOPPYIMAGE" /usr/lib/grub/$host_cpu-pc/* ::/boot/grub
echo
echo "* Installing $MEMTEST"
@@ -84,7 +91,7 @@
echo
echo -n "* Installing GRUB"
-/sbin/grub --batch --device-map=/dev/null <<EOF
+/usr/sbin/grub --batch --device-map=/dev/null <<EOF
device (fd0) $FLOPPYIMAGE
root (fd0)
setup (fd0)
--- End Message ---
--- Begin Message ---
Source: memtest86
Source-Version: 3.5-1
We believe that the bug you reported is fixed in the latest version of
memtest86, which is due to be installed in the Debian FTP archive:
memtest86_3.5-1.diff.gz
to pool/main/m/memtest86/memtest86_3.5-1.diff.gz
memtest86_3.5-1.dsc
to pool/main/m/memtest86/memtest86_3.5-1.dsc
memtest86_3.5-1_i386.deb
to pool/main/m/memtest86/memtest86_3.5-1_i386.deb
memtest86_3.5.orig.tar.gz
to pool/main/m/memtest86/memtest86_3.5.orig.tar.gz
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yann Dirson <[email protected]> (supplier of updated memtest86 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 09 Feb 2009 23:14:16 +0100
Source: memtest86
Binary: memtest86
Architecture: source i386
Version: 3.5-1
Distribution: unstable
Urgency: low
Maintainer: Yann Dirson <[email protected]>
Changed-By: Yann Dirson <[email protected]>
Description:
memtest86 - thorough real-mode memory tester
Closes: 482898 504834
Changes:
memtest86 (3.5-1) unstable; urgency=low
.
* New upstream release.
* Add Homepage in control file.
* Bumped Standards-Version to 3.8.0.
* Sync'd package with memtest86+ 2.11-2:
* Added hurd-i386 as architecture (Closes: #482898).
* Fixed finding boot image in grub script for newer grub.
* Run update-grub2 from postrm only if /boot/grub/grub.cfg is present.
* Use better idiom for safely calling "make clean".
* Install elf image for use with kexec and such.
* Depend on ${misc:Depends}
* Update make-memtest86-boot-floppy (Closes: #504834).
Checksums-Sha1:
4a22b966978aaa0c6e272f375adc18fe7b94f59e 1042 memtest86_3.5-1.dsc
9de8742454b8e699428df986cae600d28c1d7c9a 178560 memtest86_3.5.orig.tar.gz
0b8f9de8e465565b07920980d9f0fa86a97d2482 7222 memtest86_3.5-1.diff.gz
87c9caca41658a476c61bb68abadf8c74316ebaa 127172 memtest86_3.5-1_i386.deb
Checksums-Sha256:
fb0256ace514879dae247707045643436f9a45e60a2490eef38a100323120bc2 1042
memtest86_3.5-1.dsc
c55875766ed2515dbde09e3648676f83cb8a3efbc3c8001f989f937a4d24e3e4 178560
memtest86_3.5.orig.tar.gz
148ccd6d5b2b05c037e086e318158abcaad92b318f5e27fb2bb835d9625bd389 7222
memtest86_3.5-1.diff.gz
a7910e68031e28a5a0816b620933c2aa07ed89a79a184e53826264f9dcea4033 127172
memtest86_3.5-1_i386.deb
Files:
204fa9db52c4f19c8e5c42707d50fd26 1042 misc optional memtest86_3.5-1.dsc
84b6aa8cfa5e2062f24832f9f5806d8a 178560 misc optional memtest86_3.5.orig.tar.gz
842e1f17d5e0d9d07180fd01e125068b 7222 misc optional memtest86_3.5-1.diff.gz
e28c9aa4aa1c8059f56491f17de11d1c 127172 misc optional memtest86_3.5-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmQrBoACgkQV1uVslwzwbhfGQCggW+vZ70GilcUtG7wDCHmwCey
o9UAmgNKrhv0CQaiXxYly8VZghuXC9RN
=fJ4I
-----END PGP SIGNATURE-----
--- End Message ---