]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
feat(multipath): install tmpfiles.d config file
authorMartin Wilck <mwilck@suse.com>
Wed, 26 Oct 2022 08:06:34 +0000 (10:06 +0200)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Thu, 27 Oct 2022 06:33:23 +0000 (08:33 +0200)
Recent multipath-tools (0.9.2) added a tmpfiles.d template. Install it
if present.

modules.d/90multipath/module-setup.sh

index dae7371ca3724fb85629a815bcddc542930fe021..0077b4398185385d6b69de23964fed9ba08481cb 100755 (executable)
@@ -106,7 +106,8 @@ install() {
         /etc/xdrdevices.conf \
         /etc/multipath.conf \
         /etc/multipath/* \
-        "$config_dir"/*
+        "$config_dir"/* \
+        "$tmpfilesdir/multipath.conf"
 
     mpathconf_installed \
         && [[ $hostonly ]] && [[ $hostonly_mode == "strict" ]] && {