Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
memtest86+
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 6
[-]
[+]
Added
memtest86+.spec
@@ -0,0 +1,192 @@ +# +# spec file for package memtest86+ (Version 1.70) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: memtest86+ +Version: 1.70 +Release: 31 +# +License: BSD 3-Clause +Group: System/Boot +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%ifarch x86_64 +BuildRequires: glibc-devel-32bit +%endif +ExclusiveArch: %ix86 x86_64 +Provides: lilo:/boot/memtest.bin +Obsoletes: memtest86 <= 3.2 +Provides: memtest86 > 3.2 +# +URL: http://www.memtest.org +Source: http://www.memtest.org/download/%{version}/%{name}-%{version}.tar.gz +Patch0: fix-destdir +Patch1: include-linkonce +Patch2: serial-enable +Patch3: include-gnuhash +# +Summary: Memory Testing Image for x86 Architecture + +%description +Memtest86 is an image that can be booted instead of a real OS. Once +booted, it can be used to test the computer's memory. + + + +Authors: +-------- + Samuel Demeulemeester <memtest@memtest.org> + Original memtest86 package: + John Coffman <JohnInSD@san.rr.com> + Werner Almesberger <Werner.Almesberger@epfl.ch> + PowerPC part: + Paul Mackeras <paulus@samba.org> + Cort Dougan <cort@fsmlabs.com> + Benjamin Herrenschmidt <benh@kernel.crashing.org> + Memtest86: + Chris Brady <crsbrady@earthlink.net> + +%prep +%setup +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 + +%build +%ifarch x86_64 + make CC="gcc -m32" AS="as --32" +%else + make +%endif + +%install +install -D -m 0644 memtest.bin $RPM_BUILD_ROOT/boot/memtest.bin + +%post +if [ "$YAST_IS_RUNNING" != instsys -a $1 = 1 -a \ + -x /sbin/update-bootloader ]; then + /sbin/update-bootloader --add --image /boot/memtest.bin --name "Memory Test (memtest86+)" +fi +true + +%postun +test -x /sbin/update-bootloader && /sbin/update-bootloader --remove --force --image /boot/memtest.bin || true + +%files +%defattr(-,root,root) +/boot/memtest.bin +%doc README* changelog FAQ + +%changelog +* Fri Aug 10 2007 - duwe@suse.de +- Do not fail to install if update-bootloader is not there. +* Thu Aug 09 2007 - duwe@suse.de +- Add memtest86+ to boot menu even if installed later + (Feature #301969) +* Mon Feb 19 2007 - trenn@suse.de +- added .gnu.hash section +* Thu Jan 25 2007 - duwe@suse.de + + update to 1.70: +- Added new DMI polling feature (Thanks to Joachim D.) +- Added Support for Core/Core2 Solo/Duo/Quad CPU +- Added Support for AMD K8 with DDR2 Memory +- Added Support for Intel CPU with 192/384 KB L2 Cache +- Added Support for FB-DIMM based memory (DMI) +- Added Detection for ALI CyberAladdin-T (M1644) +- Added Detection for Turion 64 X2 +- Added Detection for AMD K8 with unknown chipsets +- Added Support for ATi Radeon xPress 3200 +- Added Support for Intel i975X +- Added Support for Intel Q965/P965 +- Added Support for Intel Q963/Q965 +* Thu Nov 16 2006 - mrueckert@suse.de +- switch to memtest86+ (http://www.memtest.org) + Compared to memtest86 3.2 it supports more hardware. and has + additional fixes. see http://www.memtest.org/#change for all + details. This upgrade fixes bug (#148481). +- rediffed memtest86-3.2.diff to apply cleanly. + new name: memtest86+-1.65.diff +- rediffed memtest86-3.2-timeout-serialconsole.diff to apply cleanly. + new name: memtest86+-1.65_timeout-serialconsole.diff +- rediffed memtest86-include-linkonce to apply cleanly. + new name: memtest86+-1.65_include-linkonce.patch +- cleaned up build section and directly use install instead of the + broken install target +- added changelog and FAQ to the docs +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Tue May 10 2005 - duwe@suse.de +- include *.gnu.linkonce.t.* sections in ld script, + to build cleanly on amd64 with gcc4 +* Mon Mar 14 2005 - duwe@suse.de +- update to current version 3.2: + more support for current CPUs and chipsets + fix Bugs #60303 (duped #72202), #71215 +* Mon Mar 22 2004 - stepan@suse.de +- update to 3.1a. This fixes compilation with gcc 3.x +- drop precompiled binary completely +- add ExclusiveArch for x86 and AMD64 +* Fri Mar 19 2004 - stepan@suse.de +- update to v3.1 +- remove gcc 2.95 exceptions +* Sun Sep 08 2002 - kukuk@suse.de +- Add splitt alias [Bug #19111] +* Thu Sep 05 2002 - garloff@suse.de +- memtest86-3.0 seems to hang on some machines if the serial + console support is enabled, but no serial console connected. + Add a timeout waiting for the serial console. (Bug #18302) +* Mon Sep 02 2002 - garloff@suse.de +- Supply complete image (compiled by gcc-2.95), as I don't succeed + solving the gcc-3.2 problems at this moment. (#18302) +* Sat Aug 31 2002 - garloff@suse.de +- Supply main.s compiled with gcc-2.95 to work around problem with + gcc-3.2. +* Tue Jul 30 2002 - garloff@suse.de +- Split off lilo package. +* Tue Jul 30 2002 - sf@suse.de +- added -m32 to compiler and linker for x86_64 +- added --32 to as +- added glibc-devel-32bit for x86_64 +* Fri Jun 07 2002 - garloff@suse.de +- Update to memtest86-3.0: + * Testing more than 2GB should work now. + * Use PIC instead of two copies + * Serial code avoid redundant writes now + * ^l/l gives screen refresh (after connecting serial console) + * Netbooting operational again + * LinuxBIOS support (memory sizing) +* Mon Apr 22 2002 - garloff@suse.de +- Update to memtest86-2.9: + * Provide three memory sizing modes; default is conservative one + probably not testing all memory on some boards + * Testing more than 2GB supported + * Memory testing in segments. Minor bug fixes. +* Fri Feb 15 2002 - mantel@suse.de +- remove x bit from memtest.bin since it's not a Linux executable +* Wed Dec 12 2001 - garloff@suse.de +- Update to memtest86-2.8(a): + * Reworked build process; a network bootable boot image can be + produced + * mem and cache speed detection code rewritten (should work now) + * CPU detection for Pentium 4 + * Serial console disabled by default +- Reenabled memtest86 serial console (9600 8n1) ;-) +- Clean up .spec file a bit +* Mon Jul 16 2001 - uli@suse.de +- update memtest -> 2.7 +* Mon Apr 09 2001 - garloff@suse.de +- memtest86: Correct units (cosmetic) +* Thu Dec 21 2000 - garloff@suse.de +- Update memtest86 to v2.5 final. +* Wed Nov 29 2000 - garloff@suse.de +- Update memtest86 to v2.5-beta (Athlon/Duron support) +* Mon Aug 28 2000 - garloff@suse.de +- Added memtest86-2.4.