Blame 0001-fix-network-manager-pull-in-network.target-in-nm-ini.patch
|
Dusty Mabe |
cf3fe9 |
From a97d6e2b13146783831b166ec5e8b33b29c514b0 Mon Sep 17 00:00:00 2001
|
|
Dusty Mabe |
cf3fe9 |
From: Dusty Mabe <dusty@dustymabe.com>
|
|
Dusty Mabe |
cf3fe9 |
Date: Fri, 25 Jun 2021 15:27:37 -0400
|
|
Dusty Mabe |
cf3fe9 |
Subject: [PATCH] fix(network-manager): pull in network.target in
|
|
Dusty Mabe |
cf3fe9 |
nm-initrd.service
|
|
Dusty Mabe |
cf3fe9 |
|
|
Dusty Mabe |
cf3fe9 |
Otherwise units with `After=network.target` won't have any effect.
|
|
Dusty Mabe |
cf3fe9 |
---
|
|
Dusty Mabe |
cf3fe9 |
modules.d/35network-manager/nm-initrd.service | 1 +
|
|
Dusty Mabe |
cf3fe9 |
1 file changed, 1 insertion(+)
|
|
Dusty Mabe |
cf3fe9 |
|
|
Dusty Mabe |
cf3fe9 |
diff --git a/modules.d/35network-manager/nm-initrd.service b/modules.d/35network-manager/nm-initrd.service
|
|
Dusty Mabe |
cf3fe9 |
index 815797a4..5f9b9043 100644
|
|
Dusty Mabe |
cf3fe9 |
--- a/modules.d/35network-manager/nm-initrd.service
|
|
Dusty Mabe |
cf3fe9 |
+++ b/modules.d/35network-manager/nm-initrd.service
|
|
Dusty Mabe |
cf3fe9 |
@@ -3,6 +3,7 @@ DefaultDependencies=no
|
|
Dusty Mabe |
cf3fe9 |
Wants=systemd-udev-settle.service
|
|
Dusty Mabe |
cf3fe9 |
After=systemd-udev-settle.service
|
|
Dusty Mabe |
cf3fe9 |
After=dracut-cmdline.service
|
|
Dusty Mabe |
cf3fe9 |
+Wants=network.target
|
|
Dusty Mabe |
cf3fe9 |
Before=network.target
|
|
Dusty Mabe |
cf3fe9 |
ConditionPathExists=/run/NetworkManager/initrd/neednet
|
|
Dusty Mabe |
cf3fe9 |
ConditionPathExistsGlob=|/usr/lib/NetworkManager/system-connections/*
|
|
Dusty Mabe |
cf3fe9 |
--
|
|
Dusty Mabe |
cf3fe9 |
2.31.1
|
|
Dusty Mabe |
cf3fe9 |
|