diff --git a/anaconda.spec b/anaconda.spec index 2236bc8..887c2cd 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -4,7 +4,7 @@ %endif Name: anaconda Version: 33.19 -Release: 25 +Release: 26 Summary: Graphical system installer License: GPLv2+ and MIT 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 Patch6073: bugfix-Fix-issue-when-ns_info-cannot-be-retrieved-for-NVDim.patch Patch6074: bugfix-Fix-SECTION-headers-in-docstrings.patch +Patch6075: change-inst-repo-default-value.patch %define dbusver 1.2.3 %define dnfver 3.6.0 @@ -331,6 +332,12 @@ update-desktop-database &> /dev/null || : %{_datadir}/gtk-doc %changelog +* Thu Jun 24 2021 youyifeng - 33.19-26 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:change inst.repo default value + * Mon Jun 21 2021 gaihuiying - 33.19-25 - Type:bugfix - ID:NA diff --git a/change-inst-repo-default-value.patch b/change-inst-repo-default-value.patch new file mode 100644 index 0000000..469f9e6 --- /dev/null +++ b/change-inst-repo-default-value.patch @@ -0,0 +1,26 @@ +From e73464ef17f54743dc194ad28e32797a10e844a4 Mon Sep 17 00:00:00 2001 +From: ctyuncommiter05 +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 +