- Revert change from Mon Mar 13, as this prevents the use of memtest and memtest is no longer displayed in the boot menu. - Update to 6.20 - Add support for Alder Lake-N CPUs - Add support for VIA VT8233(A)/VT8237 - Add support for nVidia nForce 3 - Add support for ALi M1533/1543(C)/1535 - Add temperature reporting on AMD K8 CPUs - Add some JEDEC Manufacturers - Better handling of SPD reading on Mobile CPUs - Fix APIC Timer fail on some mobile platforms - Fix older CPU (P5/P6-class) detection OBS-URL: https://build.opensuse.org/request/show/1086985 OBS-URL: https://build.opensuse.org/package/show/Base:System/memtest86+?expand=0&rev=46
86 lines
2.2 KiB
RPMSpec
86 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package memtest86+
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
# needssslcertforbuild
|
|
|
|
|
|
Name: memtest86+
|
|
Version: 6.20
|
|
Release: 0
|
|
Summary: Memory Testing Image for x86 Architecture
|
|
License: BSD-3-Clause
|
|
Group: System/Boot
|
|
URL: https://www.memtest.org
|
|
Source: https://github.com/memtest86plus/memtest86plus/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
#!BuildIgnore: gcc-PIE
|
|
Provides: lilo:/boot/memtest.bin
|
|
Obsoletes: memtest86 <= 3.2
|
|
Provides: memtest86 > 3.2
|
|
ExclusiveArch: %{ix86} x86_64
|
|
%ifarch x86_64
|
|
BuildRequires: glibc-devel-32bit
|
|
%endif
|
|
BuildRequires: pesign-obs-integration
|
|
%define _binary_payload w1.gzdio
|
|
BuildRequires: update-bootloader-rpm-macros
|
|
%{?update_bootloader_requires}
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n memtest86plus-%{version}
|
|
|
|
%build
|
|
# dependencies are broken for the package and it should not be built in parallel
|
|
%ifarch x86_64
|
|
cd build64
|
|
%else
|
|
cd build32
|
|
%endif
|
|
make
|
|
|
|
%install
|
|
%ifarch x86_64
|
|
cd build64
|
|
%else
|
|
cd build32
|
|
%endif
|
|
install -Dpm 0644 memtest.bin \
|
|
%{buildroot}/boot/memtest.bin
|
|
install -Dpm 0644 memtest.efi \
|
|
%{buildroot}/boot/efi/EFI/memtest86/memtest.efi
|
|
export BRP_PESIGN_FILES="*.efi"
|
|
|
|
%post
|
|
%update_bootloader_check_type_refresh_post grub2 grub2-efi
|
|
|
|
%posttrans
|
|
%update_bootloader_posttrans
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%doc doc
|
|
/boot/memtest.bin
|
|
%dir /boot/efi
|
|
%dir /boot/efi/EFI
|
|
%dir /boot/efi/EFI/memtest86
|
|
/boot/efi/EFI/memtest86/memtest.efi
|
|
|
|
%changelog
|