Projects
Eulaceura:Mainline:GA
python-blivet
_service:obs_scm:bugfix-fix-empty-UUIDs-for-NVM...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:bugfix-fix-empty-UUIDs-for-NVMe-namespaces.patch of Package python-blivet
From f1aa249bc848634ccd1d6694b59321eac31b5f0e Mon Sep 17 00:00:00 2001 From: sunhai <sunhai10@huawei.com> Date: Wed, 17 Apr 2024 00:20:07 +0800 Subject: [PATCH] fix empty UUIDs for NVMe namespaces --- blivet/populator/helpers/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blivet/populator/helpers/disk.py b/blivet/populator/helpers/disk.py index 43c902a..b9ec843 100644 --- a/blivet/populator/helpers/disk.py +++ b/blivet/populator/helpers/disk.py @@ -287,7 +287,7 @@ class NVMeNamespaceDevicePopulator(DiskDevicePopulator): kwargs["eui64"] = ninfo.eui64 kwargs["nguid"] = ninfo.nguid - if ninfo.uuid and ninfo.uuid != uuid.UUID(int=0): + if ninfo.uuid and str(ninfo.uuid) != str(uuid.UUID(int=0)): kwargs["uuid"] = ninfo.uuid else: kwargs["uuid"] = None -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2