mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-13 12:58:20 +03:00
test: install correct kpartx udev rules on Debian
Resolves: #30703 (cherry picked from commit 519f0074cf87391b17a82ea983daed6183d62fb6) (cherry picked from commit 44b9b9aca8019866d509f8770401acd5dde5f328) (cherry picked from commit 4a08f3bde06c141f4eae7452c30ca93e6b035d94) (cherry picked from commit a0ab92d4701eeefcc2a55b80046518ad8a6ad17e)
This commit is contained in:
parent
dea774417e
commit
a30781ec16
@ -1061,7 +1061,9 @@ install_multipath() {
|
||||
image_install kpartx /lib/udev/kpartx_id lsmod mpathpersist multipath multipathd partx
|
||||
image_install "${ROOTLIBDIR:?}"/system/multipathd.{service,socket}
|
||||
if get_bool "$LOOKS_LIKE_DEBIAN"; then
|
||||
inst_rules 56-dm-parts.rules 56-dm-mpath.rules 60-multipath.rules 68-del-part-nodes.rules 95-kpartx.rules
|
||||
# Note: try both 60-kpartx.rules (as seen on Debian Sid with 0.9.4-7) and 90-kpartx.rules (as seen on
|
||||
# Ubuntu Jammy with 0.8.8-1ubuntu1.22.04.4)
|
||||
inst_rules 56-dm-parts.rules 56-dm-mpath.rules 60-kpartx.rules 60-multipath.rules 68-del-part-nodes.rules 90-kpartx.rules
|
||||
else
|
||||
inst_rules 11-dm-mpath.rules 11-dm-parts.rules 62-multipath.rules 66-kpartx.rules 68-del-part-nodes.rules
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user