加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bugfix-with-use-local-kickstart-version.patch 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
sun_hai 提交于 2022-11-24 11:44 . add logo with install
From d361beead1ff91273aa0f13147b2b279172133aa Mon Sep 17 00:00:00 2001
From: sun_hai_10 <sunhai10@huawei.com>
Date: Thu, 24 Nov 2022 10:40:41 +0800
Subject: [PATCH] with use local kickstart version
---
dracut/parse-kickstart | 2 +-
pyanaconda/core/kickstart/version.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart
index 56cacb8..e0fdd1f 100755
--- a/dracut/parse-kickstart
+++ b/dracut/parse-kickstart
@@ -41,7 +41,7 @@ from pykickstart.constants import *
from collections import OrderedDict
# Import the kickstart version.
-from pykickstart.version import F36 as VERSION
+from pykickstart.version import DEVEL as VERSION
# Import all kickstart commands as version-less.
from pykickstart.commands.cdrom import FC3_Cdrom as Cdrom
diff --git a/pyanaconda/core/kickstart/version.py b/pyanaconda/core/kickstart/version.py
index 4170214..df743a6 100644
--- a/pyanaconda/core/kickstart/version.py
+++ b/pyanaconda/core/kickstart/version.py
@@ -18,6 +18,6 @@
# Red Hat, Inc.
#
-from pykickstart.version import F36 as VERSION
+from pykickstart.version import DEVEL as VERSION
__all__ = ["VERSION"]
--
2.23.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化