diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/nm-path | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/nm-path b/debian/patches/nm-path new file mode 100644 index 0000000..802da28 --- /dev/null +++ b/debian/patches/nm-path @@ -0,0 +1,25 @@ +--- a/modules.d/35network-manager/module-setup.sh ++++ b/modules.d/35network-manager/module-setup.sh +@@ -30,8 +30,8 @@ + inst_multiple ip sed grep + + inst NetworkManager +- inst_multiple -o /usr/{lib,libexec}/nm-initrd-generator +- inst_multiple -o /usr/{lib,libexec}/nm-daemon-helper ++ inst_multiple -o /usr/{lib,libexec}{,/NetworkManager}/nm-initrd-generator ++ inst_multiple -o /usr/{lib,libexec}{,/NetworkManager}/nm-daemon-helper + inst_multiple -o teamd dhclient + inst_hook cmdline 99 "$moddir/nm-config.sh" + if dracut_module_included "systemd"; then +--- a/modules.d/35network-manager/nm-lib.sh ++++ b/modules.d/35network-manager/nm-lib.sh +@@ -10,6 +10,9 @@ + elif [ -x /usr/lib/nm-initrd-generator ]; then + # shellcheck disable=SC2046 + /usr/lib/nm-initrd-generator -- $(getcmdline) ++ elif [ -x /usr/lib/NetworkManager/nm-initrd-generator ]; then ++ # shellcheck disable=SC2046 ++ /usr/lib/NetworkManager/nm-initrd-generator -- $(getcmdline) + else + warn "nm-initrd-generator not found" + fi |