!120 fix get libbd_lvm.so error

From: @sun_hai_10 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2024-02-28 03:29:47 +00:00 committed by Gitee
commit 526a1b1f7f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 8 additions and 2 deletions

View File

@ -25,7 +25,7 @@ index 0c76dab..c2463d4 100644
+# XXX force non-dbus LVM plugin
+lvm_plugin = blockdev.PluginSpec()
+lvm_plugin.name = blockdev.Plugin.LVM
+lvm_plugin.so_name = "libbd_lvm.so.2"
+lvm_plugin.so_name = "libbd_lvm.so.3"
+_requested_plugins.append(lvm_plugin)
try:
succ_, avail_plugs = blockdev.try_reinit(require_plugins=_requested_plugins, reload=False, log_func=log_bd_message)

View File

@ -3,7 +3,7 @@
Name: python-blivet
Version: 3.8.2
Release: 1
Release: 2
Epoch: 1
Summary: A python module for system storage configuration
License: LGPL-2.1-or-later
@ -125,6 +125,12 @@ make PYTHON=%{__python2} DESTDIR=%{buildroot} install
%doc README.md
%changelog
* Wed Feb 28 2024 sunhai<sunhai10@huawei.com> - 1:3.8.2-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:fix get libbd_lvm.so error
* Sat Feb 17 2024 sunhai<sunhai10@huawei.com> - 1:3.8.2-1
- Type:enhancement
- ID:NA