remove flatpak support in source code
This commit is contained in:
parent
525983adbb
commit
6c84e01041
@ -4,7 +4,7 @@
|
|||||||
%endif
|
%endif
|
||||||
Name: anaconda
|
Name: anaconda
|
||||||
Version: 33.19
|
Version: 33.19
|
||||||
Release: 32
|
Release: 33
|
||||||
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
|
||||||
@ -120,6 +120,7 @@ Patch6076: delete-datezone-map.patch
|
|||||||
|
|
||||||
Patch9026: fix-deadlock-when-forking-in-multithread.patch
|
Patch9026: fix-deadlock-when-forking-in-multithread.patch
|
||||||
Patch6077: backport-fix-boot-options-generated-by-dracut-module.patch
|
Patch6077: backport-fix-boot-options-generated-by-dracut-module.patch
|
||||||
|
Patch9027: bugfix-remove-flatpack-support.patch
|
||||||
|
|
||||||
%define dbusver 1.2.3
|
%define dbusver 1.2.3
|
||||||
%define dnfver 3.6.0
|
%define dnfver 3.6.0
|
||||||
@ -337,6 +338,12 @@ update-desktop-database &> /dev/null || :
|
|||||||
%{_datadir}/gtk-doc
|
%{_datadir}/gtk-doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 13 2022 gaihuiying <gaihuiying1@huawei.com> - 33.19-33
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove flatpak support in source code
|
||||||
|
|
||||||
* Tue Jan 11 2022 gaihuiying <gaihuiying1@huawei.com> - 33.19-32
|
* Tue Jan 11 2022 gaihuiying <gaihuiying1@huawei.com> - 33.19-32
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
38
bugfix-remove-flatpack-support.patch
Normal file
38
bugfix-remove-flatpack-support.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From 1c7eed3607410d62324e368cc4fe9fb3f541cc48 Mon Sep 17 00:00:00 2001
|
||||||
|
From: eaglegai <eaglegai@163.com>
|
||||||
|
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…
x
Reference in New Issue
Block a user