1 Star 0 Fork 107

YIN JIAYI/anaconda

forked from src-openEuler/anaconda 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bugfix-remove-flatpack-support.patch 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
From 1c7eed3607410d62324e368cc4fe9fb3f541cc48 Mon Sep 17 00:00:00 2001
From: eaglegai <[email protected]>
Date: Thu, 13 Jan 2022 18:49:29 +0800
Subject: [PATCH] remove flatpack support
---
pyanaconda/anaconda.py | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/pyanaconda/anaconda.py b/pyanaconda/anaconda.py
index 8c54011..c1108f2 100644
--- a/pyanaconda/anaconda.py
+++ b/pyanaconda/anaconda.py
@@ -28,7 +28,6 @@ from pyanaconda.core.constants import DisplayModes
from pyanaconda.core import constants
from pyanaconda.core.startup.dbus_launcher import AnacondaDBusLauncher
from pyanaconda.payload.source import SourceFactory, PayloadSourceTypeUnrecognized
-from pyanaconda.payload.flatpak import FlatpakPayload
from pyanaconda.anaconda_loggers import get_stdout_logger
stdoutLog = get_stdout_logger()
@@ -79,12 +78,8 @@ class Anaconda(object):
# class. If it doesn't give us one, fall back to the default.
if not self._payload:
if self.ksdata.ostreesetup.seen:
- if FlatpakPayload.is_available():
- from pyanaconda.payload.rpmostreepayload import RPMOSTreePayloadWithFlatpaks
- klass = RPMOSTreePayloadWithFlatpaks
- else:
- from pyanaconda.payload.rpmostreepayload import RPMOSTreePayload
- klass = RPMOSTreePayload
+ from pyanaconda.payload.rpmostreepayload import RPMOSTreePayload
+ klass = RPMOSTreePayload
elif self.opts.liveinst:
from pyanaconda.payload.live import LiveOSPayload
klass = LiveOSPayload
--
2.30.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yinjiayi/anaconda.git
[email protected]:yinjiayi/anaconda.git
yinjiayi
anaconda
anaconda
master

搜索帮助