fix get libbd_lvm.so error

This commit is contained in:
sun_hai_10 2024-02-28 10:52:39 +08:00
parent f7c2b93e4b
commit b3e6789c6c
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 +# XXX force non-dbus LVM plugin
+lvm_plugin = blockdev.PluginSpec() +lvm_plugin = blockdev.PluginSpec()
+lvm_plugin.name = blockdev.Plugin.LVM +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) +_requested_plugins.append(lvm_plugin)
try: try:
succ_, avail_plugs = blockdev.try_reinit(require_plugins=_requested_plugins, reload=False, log_func=log_bd_message) 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 Name: python-blivet
Version: 3.8.2 Version: 3.8.2
Release: 1 Release: 2
Epoch: 1 Epoch: 1
Summary: A python module for system storage configuration Summary: A python module for system storage configuration
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -125,6 +125,12 @@ make PYTHON=%{__python2} DESTDIR=%{buildroot} install
%doc README.md %doc README.md
%changelog %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 * Sat Feb 17 2024 sunhai<sunhai10@huawei.com> - 1:3.8.2-1
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA