forked from pool/multipath-tools
Accepting request 972557 from Base:System
- If multipath-tools is newly installed, load dm-multipath (bsc#1196898) OBS-URL: https://build.opensuse.org/request/show/972557 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=141
This commit is contained in:
commit
3d4adc2541
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 28 12:54:15 UTC 2022 - Martin Wilck <mwilck@suse.com>
|
||||
|
||||
- If multipath-tools is newly installed, load dm-multipath
|
||||
(bsc#1196898)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 16 13:24:47 UTC 2022 - Martin Wilck <mwilck@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package multipath-tools
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -81,6 +81,8 @@ availability of the map devices.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Currently, it makes no sense to split out libmpathpersist and libmpathcmd
|
||||
# separately. libmultipath has no stable API at all, and it depends
|
||||
# on libmpathcmd (to be fixed). libmpathpersist depends on libmultipath
|
||||
@ -193,6 +195,9 @@ install -m 644 -D %{SOURCE3} %{buildroot}/usr/lib/dracut/dracut.conf.d/dm-parts.
|
||||
%post
|
||||
[ -f /.buildenv ] && exit 0
|
||||
%service_add_post multipathd.socket multipathd.service
|
||||
if [ $1 -eq 1 ]; then
|
||||
[ ! -x /sbin/modprobe ] || /sbin/modprobe dm_multipath || true
|
||||
fi
|
||||
%{?regenerate_initrd_post}
|
||||
exit 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user