aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-installer/anaconda/files/0033-text-repository-setting-do-not-support-local-ISO-fil.patch
blob: 6b5ed78c2c56db5a231176c00b01f03fa1bbaaaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From 95dcdcf1d04e47d060e22d7a651e6d08eade3b78 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 24 Jul 2018 16:00:50 +0800
Subject: [PATCH 33/65] text repository setting: do not support local ISO file

OE does not support repository in local ISO file
(an ISO in HDD), so remove it.

Upstream-Status: Inappropriate [oe specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 pyanaconda/ui/tui/spokes/installation_source.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/tui/spokes/installation_source.py b/pyanaconda/ui/tui/spokes/installation_source.py
index 7062b32..ab44ecc 100644
--- a/pyanaconda/ui/tui/spokes/installation_source.py
+++ b/pyanaconda/ui/tui/spokes/installation_source.py
@@ -143,6 +143,7 @@ class SourceSpoke(NormalTUISpoke, SourceSwitchHandler):
             return not self._error and self.ready and (self.data.method.method or self.payload.baseRepo)
 
     def refresh(self, args=None):
+        log.info("refresh args %s" % (args))
         NormalTUISpoke.refresh(self, args)
 
         threadMgr.wait(THREAD_PAYLOAD)
@@ -164,7 +165,6 @@ class SourceSpoke(NormalTUISpoke, SourceSwitchHandler):
         else:
             self.window.add(TextWidget(_("Choose an installation source type.")))
             self._container.add(TextWidget(_("CD/DVD")), self._set_cd_install_source)
-            self._container.add(TextWidget(_("local ISO file")), self._set_iso_install_source)
             self._container.add(TextWidget(_("Network")), self._set_network_install_source)
 
             if self._hmc:
-- 
2.7.4