Projects
Eulaceura:Mainline:GA
python-blivet
_service:obs_scm:backport-Fix-intel-biosraid-ca...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:backport-Fix-intel-biosraid-cant-get-device-name-causing-crashed.patch of Package python-blivet
From 9d7d0428c81ce592c807f2cefcf7228a1b3d8789 Mon Sep 17 00:00:00 2001 From: "Yurii.Huang" <yurii.huang@dbappsecurity.com.cn> Date: Wed, 21 Aug 2024 18:31:04 +0800 Subject: [PATCH] Fix intel biosraid can't get device name causing crashed crashed with DiskDevice get members property trace: 'DiskDevice' object has no attribute 'members' changed: when ID_FS_TYPE is isw_raid_member use SYS_NAME to device name Reference:https://github.com/storaged-project/blivet/commit/9d7d0428c81ce592c807f2cefcf7228a1b3d8789 Conflict:NA --- blivet/udev.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/blivet/udev.py b/blivet/udev.py index 70fc722f5..667e1f3c9 100644 --- a/blivet/udev.py +++ b/blivet/udev.py @@ -243,6 +243,10 @@ def device_get_name(udev_info): elif device_get_format(udev_info) == "linux_raid_member": # MD RAID member -> use SYS_NAME name = udev_info["SYS_NAME"] + elif device_get_format(udev_info) == "isw_raid_member": + # intel software biosraid + # MD RAID member -> use SYS_NAME + name = udev_info["SYS_NAME"] elif device_is_partition(udev_info): # partition on RAID -> construct name from MD_DEVNAME + partition number # for partitions on named RAID we want to use the raid name, not -- 2.27.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