Accepting request 830704 from hardware
- Fix detection of ppc products - boo#1172156 * lshw-fix-ppc.patch OBS-URL: https://build.opensuse.org/request/show/830704 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lshw?expand=0&rev=18
This commit is contained in:
commit
88d73d9dae
23
lshw-fix-ppc.patch
Normal file
23
lshw-fix-ppc.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
From 3775782808e8b9b8aa72ed2ce23e145433e193cf Mon Sep 17 00:00:00 2001
|
||||||
|
From: Lyonel Vincent <lyonel@ezix.org>
|
||||||
|
Date: Wed, 27 May 2020 01:16:20 +0200
|
||||||
|
Subject: [PATCH] report product model on Power systems
|
||||||
|
|
||||||
|
Github PR #54
|
||||||
|
---
|
||||||
|
src/core/device-tree.cc | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/core/device-tree.cc b/src/core/device-tree.cc
|
||||||
|
index e7227e1..027ad16 100644
|
||||||
|
--- a/src/core/device-tree.cc
|
||||||
|
+++ b/src/core/device-tree.cc
|
||||||
|
@@ -1396,7 +1396,7 @@ static void get_ibm_model(hwNode & n)
|
||||||
|
{
|
||||||
|
if (ibm_model_defs[i].model == machinetype || ibm_model_defs[i].model == model)
|
||||||
|
{
|
||||||
|
- n.setProduct(ibm_model_defs[i].modelname);
|
||||||
|
+ n.setProduct(n.getProduct() + " (" + ibm_model_defs[i].modelname + ")");
|
||||||
|
n.addHint("icon", string(ibm_model_defs[i].icon));
|
||||||
|
n.setConfig("chassis", ibm_model_defs[i].chassis);
|
||||||
|
return;
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 31 08:34:41 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Fix detection of ppc products - boo#1172156
|
||||||
|
* lshw-fix-ppc.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 24 13:15:19 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
Fri Apr 24 13:15:19 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
@ -31,6 +31,8 @@ Source2: lshw.png
|
|||||||
Patch1: lshw-fix-segfault-in-apfs-volume-code.patch
|
Patch1: lshw-fix-segfault-in-apfs-volume-code.patch
|
||||||
# PATCH-FIX-UPSTREAM - https://github.com/lyonel/lshw/pull/52 - boo#1169668
|
# PATCH-FIX-UPSTREAM - https://github.com/lyonel/lshw/pull/52 - boo#1169668
|
||||||
Patch2: lshw-fix-mmc.patch
|
Patch2: lshw-fix-mmc.patch
|
||||||
|
# PATCH-FIX-UPSTREAM - https://github.com/lyonel/lshw/commit/3775782808e8b9b8aa72ed2ce23e145433e193cf - boo#1172156
|
||||||
|
Patch3: lshw-fix-ppc.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
|
Loading…
Reference in New Issue
Block a user