-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys-kernel/bootengine: pull ignition changes
this pulls Ignition reordering to fix Equinix Metal issues. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...user-patches/sys-kernel/bootengine/0001-ignition-keep-network-around-when-umounting.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From c0ec5e27fb150c5bd5853b935205a4e8041f3c76 Mon Sep 17 00:00:00 2001 | ||
From: Mathieu Tortuyaux <mtortuyaux@microsoft.com> | ||
Date: Thu, 12 Sep 2024 10:37:21 +0200 | ||
Subject: [PATCH] ignition: keep network around when umounting | ||
|
||
--- | ||
dracut/30ignition/ignition-mount.service | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/dracut/30ignition/ignition-mount.service b/dracut/30ignition/ignition-mount.service | ||
index f129507..d8f703e 100644 | ||
--- a/dracut/30ignition/ignition-mount.service | ||
+++ b/dracut/30ignition/ignition-mount.service | ||
@@ -10,6 +10,9 @@ Before=ignition-complete.target | ||
# mounting. This is also guaranteed through After=initrd-root-fs.target but | ||
# just to be explicit. | ||
After=ignition-disks.service | ||
+# Prevent ExecStop to be executed without network | ||
+# as this can create issue on Ignition stage that requires network even for umounting (e.g Equinix Metal) | ||
+After=network.target | ||
Before=ignition-files.service | ||
|
||
# Make sure ExecStop= runs before we switch root | ||
-- | ||
2.44.2 | ||
|
File renamed without changes.