memtest86_/memtest86+.spec
Torsten Duwe 1897f28acc Accepting request 206090 from home:duwe:branches:Base:System
- update to memtest86+-5.01:
- Added support for up to 2 TB of RAM on X64 CPUs
- Added experimental SMT support up to 32 cores
- Added complete detection for memory controllers.
- Added Motherboard Manufacturer & Model reporting
- Added CPU temperature reporting
- Added enhanced Fail Safe Mode (Press F1 at startup)
- Added support for Intel "Sandy Bridge-E" CPUs
- Added support for Intel "Ivy Bridge" CPUs
- Added preliminary support for Intel "Haswell" CPUs
- Added preliminary support for Intel "Haswell-ULT" CPUs
- Added support for AMD "Kabini" (K16) CPUs
- Added support for AMD "Bulldozer" CPUs
- Added support for AMD "Trinity" CPUs
- Added support for AMD E-/C-/G-/Z- "Bobcat" CPUs
- Added support for Intel Atom "Pineview" CPUs
- Added support for Intel Atom "Cedar Trail" CPUs
- Added SPD detection on most AMD Chipsets
- Enforced Coreboot support
- Optimized run time for faster memory error detection
- Rewriten lots of memory timings detection code
- Corrected bugs, bugs and more bugs

OBS-URL: https://build.opensuse.org/request/show/206090
OBS-URL: https://build.opensuse.org/package/show/Base:System/memtest86+?expand=0&rev=18
2013-11-07 11:13:39 +00:00

88 lines
2.4 KiB
RPMSpec

#
# spec file for package memtest86+
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: memtest86+
Version: 5.01
Release: 0
#
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cdrkit-cdrtools-compat
%ifarch x86_64
BuildRequires: glibc-devel-32bit
%endif
PreReq: perl
PreReq: /sbin/update-bootloader
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.bz2
Patch0: fix-destdir
Summary: Memory Testing Image for x86 Architecture
License: BSD-3-Clause
Group: System/Boot
%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
%build
make
%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