!127 修改inst.method默认值,修复U盘安装系统问题
From: @ctyunsystem Reviewed-by: Signed-off-by:
This commit is contained in:
commit
8026c8e296
@ -4,7 +4,7 @@
|
|||||||
%endif
|
%endif
|
||||||
Name: anaconda
|
Name: anaconda
|
||||||
Version: 33.19
|
Version: 33.19
|
||||||
Release: 25
|
Release: 26
|
||||||
Summary: Graphical system installer
|
Summary: Graphical system installer
|
||||||
License: GPLv2+ and MIT
|
License: GPLv2+ and MIT
|
||||||
URL: http://fedoraproject.org/wiki/Anaconda
|
URL: http://fedoraproject.org/wiki/Anaconda
|
||||||
@ -115,6 +115,7 @@ Patch6071: bugfix-do-not-mount-dbus-source.patch
|
|||||||
Patch6072: fix-xorg-timeout-and-throw-exception.patch
|
Patch6072: fix-xorg-timeout-and-throw-exception.patch
|
||||||
Patch6073: bugfix-Fix-issue-when-ns_info-cannot-be-retrieved-for-NVDim.patch
|
Patch6073: bugfix-Fix-issue-when-ns_info-cannot-be-retrieved-for-NVDim.patch
|
||||||
Patch6074: bugfix-Fix-SECTION-headers-in-docstrings.patch
|
Patch6074: bugfix-Fix-SECTION-headers-in-docstrings.patch
|
||||||
|
Patch6075: change-inst-repo-default-value.patch
|
||||||
|
|
||||||
%define dbusver 1.2.3
|
%define dbusver 1.2.3
|
||||||
%define dnfver 3.6.0
|
%define dnfver 3.6.0
|
||||||
@ -331,6 +332,12 @@ update-desktop-database &> /dev/null || :
|
|||||||
%{_datadir}/gtk-doc
|
%{_datadir}/gtk-doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 24 2021 youyifeng <ctyuncommiter05@chinatelecom.cn> - 33.19-26
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:change inst.repo default value
|
||||||
|
|
||||||
* Mon Jun 21 2021 gaihuiying <gaihuiying1@huawei.com> - 33.19-25
|
* Mon Jun 21 2021 gaihuiying <gaihuiying1@huawei.com> - 33.19-25
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
26
change-inst-repo-default-value.patch
Normal file
26
change-inst-repo-default-value.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From e73464ef17f54743dc194ad28e32797a10e844a4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: ctyuncommiter05 <ctyuncommiter05@chinatelecom.cn>
|
||||||
|
Date: Thu, 24 Jun 2021 16:30:45 +0800
|
||||||
|
Subject: [PATCH] change inst.repo default value
|
||||||
|
|
||||||
|
Solve the problem of U disk installation failure problem.
|
||||||
|
---
|
||||||
|
anaconda.py | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/anaconda.py b/anaconda.py
|
||||||
|
index 1abdeb2..44b573c 100755
|
||||||
|
--- a/anaconda.py
|
||||||
|
+++ b/anaconda.py
|
||||||
|
@@ -263,6 +263,8 @@ if __name__ == "__main__":
|
||||||
|
from pyanaconda.flags import flags
|
||||||
|
from pyanaconda.core.kernel import kernel_arguments
|
||||||
|
(opts, depr) = parse_arguments(boot_cmdline=kernel_arguments)
|
||||||
|
+ if not opts.method:
|
||||||
|
+ opts.method = opts.stage2
|
||||||
|
|
||||||
|
from pyanaconda.core.configuration.anaconda import conf
|
||||||
|
conf.set_from_opts(opts)
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user