Applied out-a-tree patch from Petr Oros: dmidecode: Unmask LRDIMM in memory type detail
Signed-off-by: Anton Arapov <arapov@gmail.com>
This commit is contained in:
parent
75ce9be660
commit
c2be684b86
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/dmidecode-2.11.tar.bz2
|
||||
/dmidecode-2.12.tar.bz2
|
||||
/dmidecode-3.0.tar.xz
|
||||
/dmidecode-3.0-unmask_lrdimm.patch
|
||||
|
12
dmidecode-3.0-unmask_lrdimm.patch
Normal file
12
dmidecode-3.0-unmask_lrdimm.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up dmidecode-3.0/dmidecode.c.unmask_lrdimm dmidecode-3.0/dmidecode.c
|
||||
--- dmidecode-3.0/dmidecode.c.unmask_lrdimm 2016-06-29 13:44:05.987255690 +0200
|
||||
+++ dmidecode-3.0/dmidecode.c 2016-06-29 13:44:15.003150517 +0200
|
||||
@@ -2392,7 +2392,7 @@ static void dmi_memory_device_type_detai
|
||||
"LRDIMM" /* 15 */
|
||||
};
|
||||
|
||||
- if ((code & 0x7FFE) == 0)
|
||||
+ if ((code & 0xFFFE) == 0)
|
||||
printf(" None");
|
||||
else
|
||||
{
|
@ -1,7 +1,7 @@
|
||||
Summary: Tool to analyse BIOS DMI data
|
||||
Name: dmidecode
|
||||
Version: 3.0
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Epoch: 1
|
||||
Group: System Environment/Base
|
||||
License: GPLv2+
|
||||
@ -18,6 +18,7 @@ Patch8: 0008-dmidecode-Use-read_file-to-read-the-DMI-table-from-s.patch
|
||||
Patch9: 0009-dmidecode-Check-sysfs-entry-point-length.patch
|
||||
Patch10: 0010-Use-DWORD-for-Structure-table-maximum-size-in-SMBIOS.patch
|
||||
Patch11: 0011-dmidecode-Hide-irrelevant-fixup-message.patch
|
||||
Patch30: dmidecode-3.0-unmask_lrdimm.patch
|
||||
BuildRequires: automake autoconf
|
||||
ExclusiveArch: %{ix86} x86_64 ia64 aarch64
|
||||
|
||||
@ -45,6 +46,7 @@ I/O ports (e.g. serial, parallel, USB).
|
||||
%patch9 -p1 -b .sysfs_entry_check
|
||||
%patch10 -p1 -b .dword
|
||||
%patch11 -p1 -b .hide_fixup_msg
|
||||
%patch30 -p1 -b .unmask_lrdimm
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
||||
@ -65,6 +67,9 @@ make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Wed Jun 29 2016 Anton Arapov <arapov@gmail.com> - 1:3.0-4
|
||||
- Applied out-a-tree patch from Petr Oros: dmidecode: Unmask LRDIMM in memory type detail
|
||||
|
||||
* Mon May 30 2016 Anton Arapov <arapov@gmail.com> - 1:3.0-3
|
||||
- Hide irrelevant fixup message
|
||||
- patched up to commit cff11afa886
|
||||
|
Loading…
Reference in New Issue
Block a user