anaconda/0001-Adjust-to-pykickstart-moving-new-network-commands-to.patch

52 lines
2.6 KiB
Diff
Raw Normal View History

From 41969ea6ccda5dcabac7232fb73a9307bc7bc67a Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Fri, 17 Mar 2023 18:17:02 -0700
Subject: [PATCH] Adjust to pykickstart moving new network commands to F39
Without this, anaconda fails to run with pykickstart 3.47.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
dracut/parse-kickstart | 2 +-
pyanaconda/core/kickstart/commands.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart
index c81ddb0813..3b1d26fbce 100755
--- a/dracut/parse-kickstart
+++ b/dracut/parse-kickstart
@@ -52,7 +52,7 @@ from pykickstart.commands.url import F30_Url as Url
from pykickstart.commands.updates import F34_Updates as Updates
from pykickstart.commands.mediacheck import FC4_MediaCheck as MediaCheck
from pykickstart.commands.driverdisk import F14_DriverDisk as DriverDisk
-from pykickstart.commands.network import F38_Network as Network
+from pykickstart.commands.network import F39_Network as Network
from pykickstart.commands.displaymode import F26_DisplayMode as DisplayMode
from pykickstart.commands.bootloader import F39_Bootloader as Bootloader
diff --git a/pyanaconda/core/kickstart/commands.py b/pyanaconda/core/kickstart/commands.py
index 83e17f25ea..d7b4ef932d 100644
--- a/pyanaconda/core/kickstart/commands.py
+++ b/pyanaconda/core/kickstart/commands.py
@@ -50,7 +50,7 @@ from pykickstart.commands.logvol import F29_LogVol as LogVol
from pykickstart.commands.mediacheck import FC4_MediaCheck as MediaCheck
from pykickstart.commands.method import F34_Method as Method
from pykickstart.commands.mount import F27_Mount as Mount
-from pykickstart.commands.network import F38_Network as Network
+from pykickstart.commands.network import F39_Network as Network
from pykickstart.commands.nfs import FC6_NFS as NFS
from pykickstart.commands.nvdimm import F28_Nvdimm as Nvdimm
from pykickstart.commands.ostreesetup import F21_OSTreeSetup as OSTreeSetup
@@ -91,7 +91,7 @@ from pykickstart.commands.group import F12_GroupData as GroupData
from pykickstart.commands.iscsi import F17_IscsiData as IscsiData
from pykickstart.commands.logvol import F29_LogVolData as LogVolData
from pykickstart.commands.mount import F27_MountData as MountData
-from pykickstart.commands.network import F38_NetworkData as NetworkData
+from pykickstart.commands.network import F39_NetworkData as NetworkData
from pykickstart.commands.nvdimm import F28_NvdimmData as NvdimmData
from pykickstart.commands.partition import F29_PartData as PartData
from pykickstart.commands.raid import F29_RaidData as RaidData
--
2.40.0