Compare commits
14 Commits
Author | SHA1 | Date |
---|---|---|
Martin Kolman | 07d5f3e8d7 | |
Martin Kolman | 2137f4e900 | |
Martin Kolman | 9c6b897b01 | |
Martin Kolman | 199746358c | |
Martin Kolman | 53edcba6c1 | |
Martin Kolman | c5a6a813d7 | |
Martin Kolman | 0d425c26eb | |
Martin Kolman | a094075558 | |
Martin Kolman | 112bb28fb4 | |
Martin Kolman | cbb049ec88 | |
Martin Kolman | 09f8c9df02 | |
Martin Kolman | 9fe8a4bbc9 | |
Martin Kolman | 8f9999d1c6 | |
Martin Kolman | bb6d29cae3 |
|
@ -112,3 +112,6 @@
|
|||
/anaconda-27.18.tar.bz2
|
||||
/anaconda-27.19.tar.bz2
|
||||
/anaconda-27.20.tar.bz2
|
||||
/anaconda-27.20.1.tar.bz2
|
||||
/anaconda-27.20.2.tar.bz2
|
||||
/anaconda-27.20.4.tar.bz2
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
From 993e85f0a061c920f86905c5acfd91b4846c4de6 Mon Sep 17 00:00:00 2001
|
||||
From: Radek Vykydal <rvykydal@redhat.com>
|
||||
Date: Tue, 17 Oct 2017 16:17:18 +0200
|
||||
Subject: [PATCH] network: create default ifcfg also for missing default NM
|
||||
connection (#1478141)
|
||||
|
||||
In Fedora we create default ifcfg files by dumping default wired connections
|
||||
created by NM. NM does not create such connections for InfiniBand devices and
|
||||
consequently installer crashes in text mode because of missing ifcfg file for
|
||||
the IB device.
|
||||
|
||||
Create default ifcfg also when there is no NM default connection found for a
|
||||
(in this BZ case InfiniBand) device.
|
||||
|
||||
This would be needed also when RHEL (server) policy is applied to the installer
|
||||
turning creating of default connections by NM off in general. With the patch,
|
||||
if default NM connection is not found, default ifcfg file is created in the
|
||||
same way as in rhel7-branch.
|
||||
---
|
||||
pyanaconda/network.py | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pyanaconda/network.py b/pyanaconda/network.py
|
||||
index a5b993be8..d0b147ec6 100644
|
||||
--- a/pyanaconda/network.py
|
||||
+++ b/pyanaconda/network.py
|
||||
@@ -373,7 +373,13 @@ def dumpMissingDefaultIfcfgs():
|
||||
try:
|
||||
uuid = nm.nm_device_setting_value(devname, "connection", "uuid")
|
||||
except nm.SettingsNotFoundError:
|
||||
- log.debug("no ifcfg file for %s", devname)
|
||||
+ from pyanaconda.kickstart import AnacondaKSHandler
|
||||
+ handler = AnacondaKSHandler()
|
||||
+ # pylint: disable=E1101
|
||||
+ network_data = handler.NetworkData(onboot=False, ipv6="auto")
|
||||
+ add_connection_for_ksdata(network_data, devname)
|
||||
+ rv.append(devname)
|
||||
+ log.debug("network: creating default ifcfg file for %s", devname)
|
||||
continue
|
||||
except nm.MultipleSettingsFoundError as e:
|
||||
if not nm.nm_device_is_slave(devname):
|
||||
--
|
||||
2.13.6
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
From fb82d621d25c6cc0705962085897364d2a23718b Mon Sep 17 00:00:00 2001
|
||||
From: Adam Williamson <awilliam@redhat.com>
|
||||
Date: Thu, 19 Oct 2017 11:00:47 -0700
|
||||
Subject: [PATCH] Mac EFI installs need grub2-tools (#1503496)
|
||||
|
||||
For the UEFI 64-on-32 stuff, pjones changed the MacEFIGRUB class
|
||||
to just define the `packages` attribute directly as a list of
|
||||
two packages; previously, MacEFIGRUB inherited the list from a
|
||||
parent class. As reported in #1503496, the two packages listed
|
||||
(grub2-tools-efi and mactel-boot) aren't enough for bootloader
|
||||
install to actually work.
|
||||
|
||||
This changes things so MacEFIGRUB defines `_packages64`, like
|
||||
Aarch64EFIGRUB, which should effectively cause it to include
|
||||
those packages, plus the packages listed in the `GRUB2` class
|
||||
and the `_packages_common` from the `EFIGRUB` class. I'm not
|
||||
sure if that might be too many packages, but it's at least in
|
||||
line with how another class does things and simple. The other
|
||||
option would be just to extend the class's direct `packages`
|
||||
list.
|
||||
---
|
||||
pyanaconda/bootloader.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
|
||||
index 93838fd0a..1e86c9769 100644
|
||||
--- a/pyanaconda/bootloader.py
|
||||
+++ b/pyanaconda/bootloader.py
|
||||
@@ -1862,7 +1862,7 @@ class Aarch64EFIGRUB(EFIGRUB):
|
||||
_efi_binary = "\\shimaa64.efi"
|
||||
|
||||
class MacEFIGRUB(EFIGRUB):
|
||||
- packages = [ "grub2-tools-efi", "mactel-boot" ]
|
||||
+ _packages64 = [ "grub2-tools-efi", "mactel-boot" ]
|
||||
def mactel_config(self):
|
||||
if os.path.exists(iutil.getSysroot() + "/usr/libexec/mactel-boot-setup"):
|
||||
rc = iutil.execInSysroot("/usr/libexec/mactel-boot-setup", [])
|
||||
--
|
||||
2.13.6
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
From 63ef4aa583fd36434b91420a04fad4e121752ea0 Mon Sep 17 00:00:00 2001
|
||||
From: Jiri Konecny <jkonecny@redhat.com>
|
||||
Date: Thu, 26 Oct 2017 11:26:56 +0200
|
||||
Subject: [PATCH] Add logging to TUI software selection spoke (#1505090)
|
||||
|
||||
Related: rhbz#1505090
|
||||
---
|
||||
pyanaconda/ui/tui/spokes/software_selection.py | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/pyanaconda/ui/tui/spokes/software_selection.py b/pyanaconda/ui/tui/spokes/software_selection.py
|
||||
index ae35838d0..93c868f32 100644
|
||||
--- a/pyanaconda/ui/tui/spokes/software_selection.py
|
||||
+++ b/pyanaconda/ui/tui/spokes/software_selection.py
|
||||
@@ -33,6 +33,9 @@ from simpleline.render.screen import InputState
|
||||
from simpleline.render.screen_handler import ScreenHandler
|
||||
from simpleline.render.widgets import TextWidget, CheckboxWidget
|
||||
|
||||
+from pyanaconda.anaconda_loggers import get_module_logger
|
||||
+log = get_module_logger(__name__)
|
||||
+
|
||||
__all__ = ["SoftwareSpoke"]
|
||||
|
||||
|
||||
@@ -113,6 +116,7 @@ class SoftwareSpoke(NormalTUISpoke):
|
||||
def _payload_finished(self):
|
||||
self.environment = self.data.packages.environment
|
||||
self.addons = self._get_selected_addons()
|
||||
+ log.debug("Payload restarted, set new info and clear the old one.")
|
||||
|
||||
def _payload_error(self):
|
||||
self.errors = [payloadMgr.error]
|
||||
@@ -288,6 +292,8 @@ class SoftwareSpoke(NormalTUISpoke):
|
||||
self.environment = self._selected_environment
|
||||
self.addons = self._addons_selection if self.environment is not None else set()
|
||||
|
||||
+ log.debug("Apply called old env %s, new env %s and addons %s", self._origEnv, self.environment, self.addons)
|
||||
+
|
||||
if self.environment is None:
|
||||
return
|
||||
|
||||
@@ -301,6 +307,9 @@ class SoftwareSpoke(NormalTUISpoke):
|
||||
or self._origEnv != self.environment \
|
||||
or set(self._origAddons) != set(self.addons):
|
||||
|
||||
+ log.debug("Setting new software selection old env %s, new env %s and addons %s",
|
||||
+ self._origEnv, self.environment, self.addons)
|
||||
+
|
||||
self.payload.data.packages.packageList = []
|
||||
self.data.packages.groupList = []
|
||||
self.payload.selectEnvironment(self.environment)
|
||||
@@ -329,6 +338,7 @@ class SoftwareSpoke(NormalTUISpoke):
|
||||
except DependencyError as e:
|
||||
self.errors = [str(e)]
|
||||
self._tx_id = None
|
||||
+ log.warning("Transaction error %s", str(e))
|
||||
else:
|
||||
self._tx_id = self.payload.txID
|
||||
|
||||
--
|
||||
2.13.6
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
From dd98402a1e13e5d2017b21473c4b42906e5754fd Mon Sep 17 00:00:00 2001
|
||||
From: Jiri Konecny <jkonecny@redhat.com>
|
||||
Date: Thu, 26 Oct 2017 11:27:45 +0200
|
||||
Subject: [PATCH] Fix changing source don't erase old environment TUI
|
||||
(#1505090)
|
||||
|
||||
When the installation source changed the environment in the software
|
||||
selection TUI spoke stays the same. Because of this when user changed
|
||||
source and leave the same settings for the environment and addons as
|
||||
before then the payload wasn't restarted at all.
|
||||
|
||||
Fixing by removing old saved environment after payload restart.
|
||||
|
||||
Resolves: rhbz#1505090
|
||||
---
|
||||
pyanaconda/ui/tui/spokes/software_selection.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/pyanaconda/ui/tui/spokes/software_selection.py b/pyanaconda/ui/tui/spokes/software_selection.py
|
||||
index 93c868f32..6e108c02a 100644
|
||||
--- a/pyanaconda/ui/tui/spokes/software_selection.py
|
||||
+++ b/pyanaconda/ui/tui/spokes/software_selection.py
|
||||
@@ -116,6 +116,8 @@ class SoftwareSpoke(NormalTUISpoke):
|
||||
def _payload_finished(self):
|
||||
self.environment = self.data.packages.environment
|
||||
self.addons = self._get_selected_addons()
|
||||
+ self._origEnv = None
|
||||
+ self._origAddons = None
|
||||
log.debug("Payload restarted, set new info and clear the old one.")
|
||||
|
||||
def _payload_error(self):
|
||||
--
|
||||
2.13.6
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
From fd2a64b5a6b5addc4e37ae8e1705d04f396f1044 Mon Sep 17 00:00:00 2001
|
||||
From: Jiri Konecny <jkonecny@redhat.com>
|
||||
Date: Fri, 27 Oct 2017 19:25:35 +0200
|
||||
Subject: [PATCH] Add modular server repo to the base repositories (#1506894)
|
||||
|
||||
The base repo is tested at the end of the installation and if the base
|
||||
repo is not enabled then the payload reset fails. This breaks closest
|
||||
source installation where this check is applied.
|
||||
|
||||
The base repo is recognized by name and this name could have the
|
||||
following values:
|
||||
|
||||
anaconda
|
||||
rawhide
|
||||
first part before "-" sign in the product name
|
||||
|
||||
This doesn't work for Fedora-Modular because it is fedora but that can't
|
||||
be used for repo id or there will be repo name collision.
|
||||
|
||||
Solved by adding fedora-modular-server to this list too.
|
||||
|
||||
Resolves: rhbz#1506894
|
||||
---
|
||||
pyanaconda/payload/__init__.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pyanaconda/payload/__init__.py b/pyanaconda/payload/__init__.py
|
||||
index 91f679174..aaf7b7463 100644
|
||||
--- a/pyanaconda/payload/__init__.py
|
||||
+++ b/pyanaconda/payload/__init__.py
|
||||
@@ -980,7 +980,7 @@ class ArchivePayload(ImagePayload):
|
||||
class PackagePayload(Payload):
|
||||
"""A PackagePayload installs a set of packages onto the target system."""
|
||||
|
||||
- DEFAULT_REPOS = [productName.split('-')[0].lower(), "rawhide"] # pylint: disable=no-member
|
||||
+ DEFAULT_REPOS = [productName.split('-')[0].lower(), "fedora-modular-server", "rawhide"] # pylint: disable=no-member
|
||||
|
||||
def __init__(self, data):
|
||||
if self.__class__ is PackagePayload:
|
||||
--
|
||||
2.13.6
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
From 2f8bb461055af7db8879429907db1ecdb1dbecd4 Mon Sep 17 00:00:00 2001
|
||||
From: Adam Williamson <awilliam@redhat.com>
|
||||
Date: Thu, 2 Nov 2017 09:53:08 -0700
|
||||
Subject: [PATCH] Really install all the right packages on Mac UEFI installs
|
||||
|
||||
My previous fix still wasn't quite right - it overrode the
|
||||
EFIGRUB `_packages64` list so those packages, which are needed,
|
||||
weren't included. So let's *add* to that list, not replace it.
|
||||
Note we have to put this in `__init__` because we can't use
|
||||
`super()` from the class block, that just flat doesn't work.
|
||||
---
|
||||
pyanaconda/bootloader.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
|
||||
index 1e86c9769b..f004e2f6e5 100644
|
||||
--- a/pyanaconda/bootloader.py
|
||||
+++ b/pyanaconda/bootloader.py
|
||||
@@ -1862,7 +1862,10 @@ class Aarch64EFIGRUB(EFIGRUB):
|
||||
_efi_binary = "\\shimaa64.efi"
|
||||
|
||||
class MacEFIGRUB(EFIGRUB):
|
||||
- _packages64 = [ "grub2-tools-efi", "mactel-boot" ]
|
||||
+ def __init__(self):
|
||||
+ super(MacEFIGRUB, self).__init__()
|
||||
+ self._packages64 = super(MacEFIGRUB, self)._packages64 + ["grub2-tools-efi", "mactel-boot"]
|
||||
+
|
||||
def mactel_config(self):
|
||||
if os.path.exists(iutil.getSysroot() + "/usr/libexec/mactel-boot-setup"):
|
||||
rc = iutil.execInSysroot("/usr/libexec/mactel-boot-setup", [])
|
|
@ -0,0 +1,58 @@
|
|||
From 9c5298ffa02314e1ea25c7fa13ddcef456a39af8 Mon Sep 17 00:00:00 2001
|
||||
From: Jiri Konecny <jkonecny@redhat.com>
|
||||
Date: Thu, 4 Jan 2018 11:04:52 +0100
|
||||
Subject: [PATCH 7/8] Set correct pykickstart version
|
||||
|
||||
For Fedora devel branch the pykickstart version should be set correctly.
|
||||
---
|
||||
dracut/parse-kickstart | 4 ++--
|
||||
pyanaconda/kickstart.py | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart
|
||||
index 202898215..35c139d31 100755
|
||||
--- a/dracut/parse-kickstart
|
||||
+++ b/dracut/parse-kickstart
|
||||
@@ -36,7 +36,7 @@ import uuid
|
||||
import glob
|
||||
from pykickstart.parser import KickstartParser, preprocessKickstart
|
||||
from pykickstart.sections import NullSection
|
||||
-from pykickstart.version import returnClassForVersion
|
||||
+from pykickstart.version import returnClassForVersion, F27
|
||||
from pykickstart.errors import KickstartError
|
||||
# pylint: disable=wildcard-import,unused-wildcard-import
|
||||
from pykickstart.constants import *
|
||||
@@ -263,7 +263,7 @@ dracutCmds = {
|
||||
'text': DisplayMode,
|
||||
'bootloader': Bootloader,
|
||||
}
|
||||
-handlerclass = returnClassForVersion()
|
||||
+handlerclass = returnClassForVersion(F27)
|
||||
class DracutHandler(handlerclass):
|
||||
def __init__(self):
|
||||
handlerclass.__init__(self, commandUpdates=dracutCmds)
|
||||
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
|
||||
index d277c012d..793fb21f5 100644
|
||||
--- a/pyanaconda/kickstart.py
|
||||
+++ b/pyanaconda/kickstart.py
|
||||
@@ -78,7 +78,7 @@ from pykickstart.parser import KickstartParser
|
||||
from pykickstart.parser import Script as KSScript
|
||||
from pykickstart.sections import NullSection, PackageSection, PostScriptSection, PreScriptSection, PreInstallScriptSection, \
|
||||
OnErrorScriptSection, TracebackScriptSection, Section
|
||||
-from pykickstart.version import returnClassForVersion
|
||||
+from pykickstart.version import returnClassForVersion, F27
|
||||
|
||||
from pyanaconda import anaconda_logging
|
||||
from pyanaconda.anaconda_loggers import get_module_logger, get_stdout_logger, get_stderr_logger, get_blivet_logger, get_anaconda_root_logger
|
||||
@@ -2275,7 +2275,7 @@ dataMap = {
|
||||
"VolGroupData": VolGroupData,
|
||||
}
|
||||
|
||||
-superclass = returnClassForVersion()
|
||||
+superclass = returnClassForVersion(version=F27)
|
||||
|
||||
class AnacondaKSHandler(superclass):
|
||||
AddonClassType = AddonData
|
||||
--
|
||||
2.14.3
|
||||
|
|
@ -0,0 +1,77 @@
|
|||
From 660e896b085b189f058664be95760cd90bf9a8a7 Mon Sep 17 00:00:00 2001
|
||||
From: Dusty Mabe <dusty@dustymabe.com>
|
||||
Date: Thu, 14 Dec 2017 15:54:23 -0500
|
||||
Subject: [PATCH 8/8] kickstart: support firewall --use-system-defaults
|
||||
(#1526450)
|
||||
|
||||
Needed for [1] where we would like to include firewalld
|
||||
and configure firewalld in Atomic Host (in the ostree) and
|
||||
have Anaconda leave the delivered "defaults" in place. The
|
||||
action here is to do nothing if the user specified
|
||||
--use-system-defaults.
|
||||
|
||||
[1] https://pagure.io/atomic-wg/issue/401
|
||||
|
||||
Resolves: rhbz#1526450
|
||||
(cherry picked from commit 8d064062e71fd313f67e3522faf8d11e768c1986)
|
||||
---
|
||||
anaconda.spec.in | 2 +-
|
||||
pyanaconda/kickstart.py | 14 ++++++++++++--
|
||||
2 files changed, 13 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/anaconda.spec.in b/anaconda.spec.in
|
||||
index 2bd76cfdb..4ce60159d 100644
|
||||
--- a/anaconda.spec.in
|
||||
+++ b/anaconda.spec.in
|
||||
@@ -37,7 +37,7 @@ Source0: %{name}-%{version}.tar.bz2
|
||||
%define mehver 0.23-1
|
||||
%define nmver 1.0
|
||||
%define partedver 1.8.1
|
||||
-%define pykickstartver 2.40-1
|
||||
+%define pykickstartver 2.44-1
|
||||
%define pypartedver 2.5-2
|
||||
%define rpmver 4.10.0
|
||||
%define simplelinever 0.6-1
|
||||
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
|
||||
index 793fb21f5..b75d9be3f 100644
|
||||
--- a/pyanaconda/kickstart.py
|
||||
+++ b/pyanaconda/kickstart.py
|
||||
@@ -109,6 +109,7 @@ timezone_log = log.getChild("kickstart.timezone")
|
||||
realm_log = log.getChild("kickstart.realm")
|
||||
escrow_log = log.getChild("kickstart.escrow")
|
||||
upgrade_log = log.getChild("kickstart.upgrade")
|
||||
+firewall_log = log.getChild("kickstart.firewall")
|
||||
|
||||
@contextmanager
|
||||
def check_kickstart_error():
|
||||
@@ -706,9 +707,9 @@ class Fcoe(commands.fcoe.F13_Fcoe):
|
||||
|
||||
return fc
|
||||
|
||||
-class Firewall(commands.firewall.F20_Firewall):
|
||||
+class Firewall(commands.firewall.F28_Firewall):
|
||||
def __init__(self, *args, **kwargs):
|
||||
- commands.firewall.F20_Firewall.__init__(self, *args, **kwargs)
|
||||
+ commands.firewall.F28_Firewall.__init__(self, *args, **kwargs)
|
||||
self.packages = []
|
||||
|
||||
def setup(self):
|
||||
@@ -717,6 +718,15 @@ class Firewall(commands.firewall.F20_Firewall):
|
||||
|
||||
def execute(self, storage, ksdata, instClass):
|
||||
args = []
|
||||
+
|
||||
+ # If --use-system-defaults was passed then the user wants
|
||||
+ # whatever was provided by the rpms or ostree to be the
|
||||
+ # default, do nothing.
|
||||
+ if self.use_system_defaults:
|
||||
+ firewall_log.info("ks file instructs to use system defaults for "
|
||||
+ "firewall, skipping configuration.")
|
||||
+ return
|
||||
+
|
||||
# enabled is None if neither --enable or --disable is passed
|
||||
# default to enabled if nothing has been set.
|
||||
if self.enabled == False:
|
||||
--
|
||||
2.14.3
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
From d3116edb3e86e4fda295c8d9a09791498d32668e Mon Sep 17 00:00:00 2001
|
||||
From: Dusty Mabe <dusty@dustymabe.com>
|
||||
Date: Wed, 10 Jan 2018 10:59:26 -0500
|
||||
Subject: [PATCH] kickstart: use F27_Firewall, not F28_Firewall
|
||||
|
||||
clumens made it F27 when he backported the patch
|
||||
from the pykickstart pykickstart2 PR [1] to the f27
|
||||
package [2].
|
||||
|
||||
[1] https://github.com/rhinstaller/pykickstart/pull/204
|
||||
[2] https://src.fedoraproject.org/rpms/pykickstart/c/efdb64965ec11dc8c16c38006c2db81bda6430a5?branch=f27
|
||||
---
|
||||
pyanaconda/kickstart.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
|
||||
index b75d9be3f..100e25702 100644
|
||||
--- a/pyanaconda/kickstart.py
|
||||
+++ b/pyanaconda/kickstart.py
|
||||
@@ -707,9 +707,9 @@ class Fcoe(commands.fcoe.F13_Fcoe):
|
||||
|
||||
return fc
|
||||
|
||||
-class Firewall(commands.firewall.F28_Firewall):
|
||||
+class Firewall(commands.firewall.F27_Firewall):
|
||||
def __init__(self, *args, **kwargs):
|
||||
- commands.firewall.F28_Firewall.__init__(self, *args, **kwargs)
|
||||
+ commands.firewall.F27_Firewall.__init__(self, *args, **kwargs)
|
||||
self.packages = []
|
||||
|
||||
def setup(self):
|
||||
--
|
||||
2.14.3
|
||||
|
191
anaconda.spec
191
anaconda.spec
|
@ -2,8 +2,8 @@
|
|||
|
||||
Summary: Graphical system installer
|
||||
Name: anaconda
|
||||
Version: 27.20
|
||||
Release: 1%{?dist}
|
||||
Version: 27.20.4
|
||||
Release: 6%{?dist}
|
||||
License: GPLv2+ and MIT
|
||||
Group: Applications/System
|
||||
URL: http://fedoraproject.org/wiki/Anaconda
|
||||
|
@ -15,37 +15,66 @@ URL: http://fedoraproject.org/wiki/Anaconda
|
|||
# make dist
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
|
||||
# fix Infiniband
|
||||
Patch1: 0001-network-create-default-ifcfg-also-for-missing-defaul.patch
|
||||
|
||||
# fix Mac EFI
|
||||
Patch2: 0002-Mac-EFI-installs-need-grub2-tools-1503496.patch
|
||||
|
||||
# fix being unable to continue installation without selecting
|
||||
# and add-ons in TUI
|
||||
Patch3: 0003-Add-logging-to-TUI-software-selection-spoke-1505090.patch
|
||||
Patch4: 0004-Fix-changing-source-don-t-erase-old-environment-TUI-.patch
|
||||
|
||||
# fix closest source selection for modular F27
|
||||
Patch5: 0005-Add-modular-server-repo-to-the-base-repositories-150.patch
|
||||
|
||||
# Second attempt to fix Mac EFI
|
||||
Patch6: 0006-Fix-MAC-EFI-try-2.patch
|
||||
|
||||
# Use correct Pykickstart version
|
||||
Patch7: 0007-Set-correct-pykickstart-version.patch
|
||||
|
||||
# Add support for the --use-system-defaults option for the firewall kickstart command
|
||||
Patch8: 0008-kickstart-support-firewall-use-system-defaults-15264.patch
|
||||
|
||||
# the new firewall command functionality was backported to the F27 command in Pykickstart,
|
||||
# so use that
|
||||
Patch9: 0009-kickstart-use-F27_Firewall-not-F28_Firewall.patch
|
||||
|
||||
# Versions of required components (done so we make sure the buildrequires
|
||||
# match the requires versions of things).
|
||||
|
||||
%define gettextver 0.19.8
|
||||
%define pykickstartver 2.36-1
|
||||
%define dnfver 2.2.0
|
||||
%define partedver 1.8.1
|
||||
%define pypartedver 2.5-2
|
||||
%define nmver 1.0
|
||||
%define dbusver 1.2.3
|
||||
%define mehver 0.23-1
|
||||
%define firewalldver 0.3.5-1
|
||||
%define utillinuxver 2.15.1
|
||||
%define dracutver 034-7
|
||||
%define isomd5sum 1.0.10
|
||||
%define fcoeutilsver 1.0.12-3.20100323git
|
||||
%define iscsiver 6.2.0.873-26
|
||||
%define rpmver 4.10.0
|
||||
%define libarchivever 3.0.4
|
||||
%define langtablever 0.0.34
|
||||
%define libxklavierver 5.4
|
||||
%define libtimezonemapver 0.4.1-2
|
||||
%define helpver 22.1-1
|
||||
%define libblockdevver 2.1
|
||||
%define blivetguiver 2.1.5-2
|
||||
%define dbusver 1.2.3
|
||||
%define dnfver 2.2.0
|
||||
%define dracutver 034-7
|
||||
%define fcoeutilsver 1.0.12-3.20100323git
|
||||
%define firewalldver 0.3.5-1
|
||||
%define gettextver 0.19.8
|
||||
%define gtk3ver 3.22.17
|
||||
%define helpver 22.1-1
|
||||
%define iscsiver 6.2.0.873-26
|
||||
%define isomd5sum 1.0.10
|
||||
%define langtablever 0.0.34
|
||||
%define libarchivever 3.0.4
|
||||
%define libblockdevver 2.1
|
||||
%define libtimezonemapver 0.4.1-2
|
||||
%define libxklavierver 5.4
|
||||
%define mehver 0.23-1
|
||||
%define nmver 1.0
|
||||
%define partedver 1.8.1
|
||||
%define pykickstartver 2.41-2
|
||||
%define pypartedver 2.5-2
|
||||
%define rpmver 4.10.0
|
||||
%define simplelinever 0.6-1
|
||||
%define utillinuxver 2.15.1
|
||||
|
||||
BuildRequires: audit-libs-devel
|
||||
BuildRequires: gettext >= %{gettextver}
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: gtk3-devel >= %{gtk3ver}
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: gtk3-devel-docs
|
||||
BuildRequires: gtk3-devel-docs >= %{gtk3ver}
|
||||
BuildRequires: glib2-doc
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: glade-devel
|
||||
|
@ -103,6 +132,7 @@ Requires: langtable-python3 >= %{langtablever}
|
|||
Requires: authconfig
|
||||
Requires: firewalld >= %{firewalldver}
|
||||
Requires: util-linux >= %{utillinuxver}
|
||||
Requires: python3-gobject-base
|
||||
Requires: python3-dbus
|
||||
Requires: python3-pwquality
|
||||
Requires: python3-systemd
|
||||
|
@ -185,7 +215,6 @@ Requires: NetworkManager-wifi
|
|||
%endif
|
||||
Requires: anaconda-user-help >= %{helpver}
|
||||
Requires: yelp
|
||||
Requires: python3-gobject-base
|
||||
Requires: blivet-gui-runtime >= %{blivetguiver}
|
||||
|
||||
# Needed to compile the gsettings files
|
||||
|
@ -198,6 +227,7 @@ This package contains graphical user interface for the Anaconda installer.
|
|||
%package tui
|
||||
Summary: Textual user interface for the Anaconda installer
|
||||
Requires: anaconda-core = %{version}-%{release}
|
||||
Requires: python3-simpleline >= %{simplelinever}
|
||||
|
||||
%description tui
|
||||
This package contains textual user interface for the Anaconda installer.
|
||||
|
@ -236,6 +266,15 @@ runtime on NFS/HTTP/FTP servers or local disks.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
@ -306,7 +345,6 @@ update-desktop-database &> /dev/null || :
|
|||
|
||||
%files gui
|
||||
%{python3_sitearch}/pyanaconda/ui/gui/*
|
||||
%{_datadir}/themes/Anaconda/*
|
||||
|
||||
%files tui
|
||||
%{python3_sitearch}/pyanaconda/rescue.py
|
||||
|
@ -330,6 +368,105 @@ update-desktop-database &> /dev/null || :
|
|||
%{_prefix}/libexec/anaconda/dd_*
|
||||
|
||||
%changelog
|
||||
* Thu Jan 11 2018 Martin Kolman <mkolman@redhat.com> - 27.20.4-6
|
||||
- kickstart: use F27_Firewall, not F28_Firewall (dusty)
|
||||
|
||||
* Mon Jan 08 2018 Martin Kolman <mkolman@redhat.com> - 27.20.4-5
|
||||
- kickstart: support firewall --use-system-defaults (#1526450) (dusty)
|
||||
- Set correct pykickstart version (jkonecny)
|
||||
|
||||
* Thu Nov 02 2017 Martin Kolman <mkolman@redhat.com> - 27.20.4-4
|
||||
- Really install all the right packages on Mac UEFI installs (adamw)
|
||||
|
||||
* Mon Oct 30 2017 Martin Kolman <mkolman@redhat.com> - 27.20.4-3
|
||||
- Add logging to TUI software selection spoke (#1505090) (jkonecny)
|
||||
- Fix changing source don't erase old environment TUI (#1505090) (jkonecny)
|
||||
- Add modular server repo to the base repositories (#1506894) (jkonecny)
|
||||
|
||||
* Thu Oct 12 2017 Martin Kolman <mkolman@redhat.com> - 27.20.4-2
|
||||
- network: create default ifcfg also for missing default NM connection (#1478141) (rvykydal)
|
||||
- Mac EFI installs need grub2-tools (#1503496) (adamw)
|
||||
|
||||
* Thu Oct 12 2017 Martin Kolman <mkolman@redhat.com> - 27.20.4-1
|
||||
- Fix a translation check error (mkolman)
|
||||
|
||||
* Thu Oct 12 2017 Martin Kolman <mkolman@redhat.com> - 27.20.3-1
|
||||
- Mark the mount point assignment in TUI as experimental (vpodzime)
|
||||
- Reset storage on change in text mode (vpodzime)
|
||||
- Only allow the supported file systems in text mode (vpodzime)
|
||||
- Textual configuration of mount points (vpodzime)
|
||||
- Add support for the new 'mount' kickstart command (vpodzime)
|
||||
- Fix dnf exception repository not set (#1495211) (jkonecny)
|
||||
- Add logging of complete spokes in GUI. (rvykydal)
|
||||
- Do not execute storage when the spoke is left with no selected disk
|
||||
(#1496327) (rvykydal)
|
||||
- Add checks for group names (#1497676) (vponcova)
|
||||
- Add new checks for user names (#1491006) (vponcova)
|
||||
|
||||
* Fri Sep 29 2017 Martin Kolman <mkolman@redhat.com> - 27.20.2-1
|
||||
- Use name instead of index in TUI env selection (#1495204) (jkonecny)
|
||||
- Fix missing container in TUI source spoke (#1494801) (jkonecny)
|
||||
- Add MOCK_EXTRA_ARGS to Makefile (jkonecny)
|
||||
- tui source spoke: initialize nfs values when switching to nfs (rvykydal)
|
||||
- Deselect encryption when switching to blivet-gui partitioning (vtrefny)
|
||||
- Fix missing id to name environment transition (#1491119) (jkonecny)
|
||||
- Fix test for unset TUI software environment (#1491119) (jkonecny)
|
||||
- Rename processingDone to processing_done variable (jkonecny)
|
||||
- network: add support for kickstart --bindto=mac for virtual devices
|
||||
(#1328576) (rvykydal)
|
||||
- network: support mac bound network settings as first class (#1328576)
|
||||
(rvykydal)
|
||||
- network: add support for kickstart --bindto=mac for wired devices (#1328576)
|
||||
(rvykydal)
|
||||
- Don't setup the hub twice (#1491333) (vponcova)
|
||||
- rpmostreepayload: Substitute ${basearch} in ostreesetup ref (walters)
|
||||
- Bump Simpleline version (jkonecny)
|
||||
- Perform repo checks only when there are checks available. (rvykydal)
|
||||
- Add support for repo --metalink (GUI) (#1464843) (rvykydal)
|
||||
- Add support for repo --metalink (kickstart, tui) (#1464843) (rvykydal)
|
||||
- Make EFIGRUB._efi_binary a property, not a method (awilliam)
|
||||
- Better storing logs from build and tests (jkonecny)
|
||||
- Provide a default install class. (vponcova)
|
||||
- Do not use hidden install classes. (vponcova)
|
||||
- Make geolocation with kickstart possible (#1358331) (mkolman)
|
||||
- Run python-meh as modal in TUI (jkonecny)
|
||||
- Use GLib event loop in the simpleline (jkonecny)
|
||||
- TUI progress reporting is handled by show_all (jkonecny)
|
||||
- Fix catch TUI not main thread exceptions (jkonecny)
|
||||
- Add efi_dir to the BaseInstallClass (#1412391) (vponcova)
|
||||
- Document Anaconda branching workflow (mkolman)
|
||||
- Use constants for version number bumps and additions (mkolman)
|
||||
- Fix closest mirror now needs network (jkonecny)
|
||||
- Fix restart payload thread in Network spoke GUI (#1478970) (jkonecny)
|
||||
- Network spoke freeze when testing availability (#1478970) (jkonecny)
|
||||
- Add support for adding version numbers to makebumpver (mkolman)
|
||||
- Add support for major version bump to makebumpver (mkolman)
|
||||
- Fix proxy settings badly used when testing repos (#1478970) (jkonecny)
|
||||
- Add inst.notmux option (dusty)
|
||||
|
||||
* Tue Aug 29 2017 Martin Kolman <mkolman@redhat.com> - 27.20.1-1
|
||||
- Remove the metacity theme. (vponcova)
|
||||
- Add the option inst.decorated to allow title bar in GUI (vponcova)
|
||||
- Move python3-gobject Requires to core (jkonecny)
|
||||
- Return simpleline removed ipmi calls back (jkonecny)
|
||||
- Use new list container from Simpleline (jkonecny)
|
||||
- Remove old simpleline from anaconda (jkonecny)
|
||||
- Ask multiple times for wrong input (jkonecny)
|
||||
- Show TUI exception only first time (jkonecny)
|
||||
- Add simpleline logger to the Anaconda (jkonecny)
|
||||
- Modify TUI to use new Simpleline package (jkonecny)
|
||||
- Make 64-bit kernel on 32-bit firmware work for x86 efi machines (pjones)
|
||||
- Add missing gtk3 required version to spec file (jkonecny)
|
||||
- Sort spec required versions alphabetically (jkonecny)
|
||||
- Fix testing of the kickstart version (vponcova)
|
||||
- Move the installclass command to the %%anaconda section. (vponcova)
|
||||
- Fix SL install class to use right efi dir (riehecky)
|
||||
- Fix accelerator key for blivet-gui partitioning (#1482438) (vtrefny)
|
||||
- Add blivet-gui logs to python-meh file list (vtrefny)
|
||||
- Remove the title bar in anaconda by default (#1468801) (vponcova)
|
||||
- Add simple script to read journal with message code source and thread info.
|
||||
(rvykydal)
|
||||
|
||||
* Mon Aug 14 2017 Martin Kolman <mkolman@redhat.com> - 27.20-1
|
||||
- Add support for automatic generating of DBus specification. (vponcova)
|
||||
- Add support for generating XML (vponcova)
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (anaconda-27.20.tar.bz2) = e4f4b6b9686daa5db309a2b320c3acb308e11c43fd0fd0526b0125bf67f4b5e9eb0876110e441324fcea9918031ff3f1f6cd5808614e8902a160ebdca4a62682
|
||||
SHA512 (anaconda-27.20.4.tar.bz2) = 2782993e27122acd13ac32acf9a0ee61344af13fb732d9452f9cdbaa8376c35012ad22bc02396dae0d423ca434a9be98bfec4b03ab9442d3d9663d42b5bd2ca8
|
||||
|
|
Loading…
Reference in New Issue