Accepting request 866943 from home:michals
- Display UUID on Power VM LPAR (bsc#1181411 ltc#191040) * lshw-devtree-Add-UUID-property.patch OBS-URL: https://build.opensuse.org/request/show/866943 OBS-URL: https://build.opensuse.org/package/show/hardware/lshw?expand=0&rev=48
This commit is contained in:
parent
c650f9f5f7
commit
97a4e50f68
32
lshw-devtree-Add-UUID-property.patch
Normal file
32
lshw-devtree-Add-UUID-property.patch
Normal file
@ -0,0 +1,32 @@
|
||||
From 9c5c2f0706db330114ff4624e0931ac40c1d6fe2 Mon Sep 17 00:00:00 2001
|
||||
From: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
|
||||
Date: Wed, 20 Jan 2021 11:28:47 +0530
|
||||
Subject: [PATCH] devtree: Add UUID property
|
||||
|
||||
References: bsc#1181411 ltc#191040
|
||||
Upstrem: accepted
|
||||
Git-commit: 9c5c2f0706db330114ff4624e0931ac40c1d6fe2
|
||||
|
||||
Add UUID property to PowerVM LPAR.
|
||||
|
||||
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
|
||||
---
|
||||
src/core/device-tree.cc | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/core/device-tree.cc b/src/core/device-tree.cc
|
||||
index d3188c6a8a27..7df6a4ee074c 100644
|
||||
--- a/src/core/device-tree.cc
|
||||
+++ b/src/core/device-tree.cc
|
||||
@@ -1503,6 +1503,8 @@ bool scan_device_tree(hwNode & n)
|
||||
scan_devtree_bootrom(*core);
|
||||
if (exists(DEVICETREE "/ibm,lpar-capable")) {
|
||||
n.setDescription("pSeries LPAR");
|
||||
+ if (exists( DEVICETREE "/ibm,partition-uuid"))
|
||||
+ n.setConfig("uuid", get_string(DEVICETREE "/ibm,partition-uuid"));
|
||||
scan_devtree_cpu_power(*core);
|
||||
}
|
||||
else {
|
||||
--
|
||||
2.26.2
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 26 15:38:36 UTC 2021 - Michal Suchanek <msuchanek@suse.de>
|
||||
|
||||
- Display UUID on Power VM LPAR (bsc#1181411 ltc#191040)
|
||||
* lshw-devtree-Add-UUID-property.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 31 08:34:41 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lshw
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -33,6 +33,8 @@ Patch1: lshw-fix-segfault-in-apfs-volume-code.patch
|
||||
Patch2: lshw-fix-mmc.patch
|
||||
# PATCH-FIX-UPSTREAM - https://github.com/lyonel/lshw/commit/3775782808e8b9b8aa72ed2ce23e145433e193cf - boo#1172156
|
||||
Patch3: lshw-fix-ppc.patch
|
||||
# PATCH-FIX-UPSTREAM - https://ezix.org/src/pkg/lshw/commit/9c5c2f0706db330114ff4624e0931ac40c1d6fe2 - bsc#1181411
|
||||
Patch4: lshw-devtree-Add-UUID-property.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libpng-devel
|
||||
|
Loading…
Reference in New Issue
Block a user