chore: Update Anaconda for F41

This commit is contained in:
Kyle Gospodnetich 2024-10-18 15:18:49 -07:00
parent 410e7f1f1e
commit 202b8f1b29
2 changed files with 175 additions and 57 deletions

View File

@ -1,31 +0,0 @@
From d1424ea9ffa5d51d1cfa004b0861e345c4300902 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Wed, 6 Mar 2024 17:26:45 -0800
Subject: [PATCH] bootupd: call bootupctl with --update-firmware
This is required to write an entry to the EFI boot manager,
which we ought to do (anaconda does it when installing the
bootloader itself). Without this, boot of the installed system
will only work if it's configured to try and boot from the
hard disk using the fallback path.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
.../modules/payloads/payload/rpm_ostree/installation.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py b/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py
index 0ac8583b78..f5ea666cf2 100644
--- a/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py
+++ b/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py
@@ -520,6 +520,7 @@ class ConfigureBootloader(Task):
"install",
"--auto",
"--write-uuid",
+ "--update-firmware",
"--device",
dev_data.path,
"/",
--
2.44.0

View File

@ -1,7 +1,7 @@
Summary: Graphical system installer Summary: Graphical system installer
Name: anaconda Name: anaconda
Version: 40.22.3 Version: 41.35
Release: 101.bazzite Release: 100.bazzite
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: http://fedoraproject.org/wiki/Anaconda URL: http://fedoraproject.org/wiki/Anaconda
@ -10,13 +10,9 @@ URL: http://fedoraproject.org/wiki/Anaconda
# git checkout -b archive-branch anaconda-%%{version}-%%{release} # git checkout -b archive-branch anaconda-%%{version}-%%{release}
# ./autogen.sh # ./autogen.sh
# make dist # make dist
Source0: https://github.com/rhinstaller/%{name}/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.bz2 Source0: https://github.com/rhinstaller/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
# https://github.com/rhinstaller/anaconda/pull/5508
# https://bugzilla.redhat.com/show_bug.cgi?id=2268505
# Fix bootupd UEFI path to create an EFI boot manager entry
Patch0: 0001-bootupd-call-bootupctl-with-update-firmware.patch
Patch1: bazzite.patch Patch0: bazzite.patch
# Versions of required components (done so we make sure the buildrequires # Versions of required components (done so we make sure the buildrequires
# match the requires versions of things). # match the requires versions of things).
@ -44,7 +40,7 @@ Patch1: bazzite.patch
%define libxklavierver 5.4 %define libxklavierver 5.4
%define mehver 0.23-1 %define mehver 0.23-1
%define nmver 1.0 %define nmver 1.0
%define pykickstartver 3.52-1 %define pykickstartver 3.58-1
%define pypartedver 2.5-2 %define pypartedver 2.5-2
%define pythonblivetver 1:3.9.0-1 %define pythonblivetver 1:3.9.0-1
%define rpmver 4.15.0 %define rpmver 4.15.0
@ -90,11 +86,16 @@ Summary: Core of the Anaconda installer
# core/signal.py is under MIT # core/signal.py is under MIT
License: GPL-2.0-or-later AND MIT License: GPL-2.0-or-later AND MIT
Requires: python3-libs Requires: python3-libs
%if 0%{?rhel} > 10 || 0%{?fedora} > 40
Requires: python3-crypt-r
%endif
Requires: python3-dnf >= %{dnfver} Requires: python3-dnf >= %{dnfver}
Requires: python3-blivet >= %{pythonblivetver} Requires: python3-blivet >= %{pythonblivetver}
Requires: python3-blockdev >= %{libblockdevver} Requires: python3-blockdev >= %{libblockdevver}
Requires: python3-meh >= %{mehver} Requires: python3-meh >= %{mehver}
%if 0%{?rhel} < 10 || 0%{?fedora}
Requires: libreport-anaconda >= %{libreportanacondaver} Requires: libreport-anaconda >= %{libreportanacondaver}
%endif
Requires: libselinux-python3 Requires: libselinux-python3
Requires: python3-rpm >= %{rpmver} Requires: python3-rpm >= %{rpmver}
Requires: python3-pyparted >= %{pypartedver} Requires: python3-pyparted >= %{pypartedver}
@ -118,17 +119,19 @@ Requires: subscription-manager >= %{subscriptionmanagerver}
# which is apparently great for containers but unhelpful for the rest of us # which is apparently great for containers but unhelpful for the rest of us
Requires: cracklib-dicts Requires: cracklib-dicts
%if 0%{?rhel} < 10 || 0%{?fedora}
Requires: teamd Requires: teamd
Requires: NetworkManager-team
%endif
%ifarch s390 s390x %ifarch s390 s390x
Requires: openssh Requires: openssh
%endif %endif
Requires: NetworkManager >= %{nmver} Requires: NetworkManager >= %{nmver}
Requires: NetworkManager-libnm >= %{nmver} Requires: NetworkManager-libnm >= %{nmver}
Requires: NetworkManager-team
Requires: kbd Requires: kbd
Requires: chrony Requires: chrony
Requires: systemd Requires: systemd
%if ! 0%{?rhel} %if 0%{?rhel} > 10 || 0%{?fedora}
Requires: systemd-resolved Requires: systemd-resolved
%endif %endif
Requires: python3-pid Requires: python3-pid
@ -173,7 +176,6 @@ BuildArchitectures: noarch
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
# live installation currently implies a graphical installation # live installation currently implies a graphical installation
Requires: anaconda-gui = %{version}-%{release} Requires: anaconda-gui = %{version}-%{release}
Requires: usermode
Requires: zenity Requires: zenity
Requires: xisxwayland Requires: xisxwayland
Recommends: xhost Recommends: xhost
@ -225,6 +227,8 @@ Requires: f2fs-tools
Requires: xfsprogs Requires: xfsprogs
Requires: dosfstools Requires: dosfstools
Requires: e2fsprogs Requires: e2fsprogs
# External tooling for managing NVMe-FC devices in the installation environment
Recommends: nvme-cli
%description install-env-deps %description install-env-deps
The anaconda-install-env-deps metapackage lists all installation environment The anaconda-install-env-deps metapackage lists all installation environment
@ -268,6 +272,10 @@ Requires: rpm-ostree >= %{rpmostreever}
Requires: ostree Requires: ostree
# used by ostree command for native containers # used by ostree command for native containers
Requires: skopeo Requires: skopeo
# External tooling for managing NVMe-FC devices in the installation environment
Requires: nvme-cli
# Needed for bootc
Requires: podman
%description install-img-deps %description install-img-deps
The anaconda-install-img-deps metapackage lists all boot.iso installation The anaconda-install-img-deps metapackage lists all boot.iso installation
@ -335,6 +343,7 @@ Requires: dracut-network
Requires: dracut-live Requires: dracut-live
Requires: xz Requires: xz
Requires: python3-kickstart Requires: python3-kickstart
Requires: iputils
%description dracut %description dracut
The 'anaconda' dracut module handles installer-specific boot tasks and The 'anaconda' dracut module handles installer-specific boot tasks and
@ -343,7 +352,6 @@ runtime on NFS/HTTP/FTP servers or local disks.
%prep %prep
%autosetup -p 1 %autosetup -p 1
rm pyanaconda/threading.py
%build %build
# use actual build-time release number, not tarball creation time release number # use actual build-time release number, not tarball creation time release number
@ -474,25 +482,166 @@ rm -rf \
%{_prefix}/libexec/anaconda/dd_* %{_prefix}/libexec/anaconda/dd_*
%changelog %changelog
* Mon Mar 25 2024 Packit <hello@packit.dev> - 40.22.3-1 * Thu Oct 17 2024 Packit <hello@packit.dev> - 41.35-1
- Disable preexec for vtActivate() (mkolman) - Fix checking whether a disk can be cleared during autopart (vtrefny)
- Lower permissions for kickstart logs in /tmp (jkonecny)
- Copy /etc/resolv.conf to system only if there is no systemd-resolved
(rvykydal)
- Revert "Do not copy /etc/resolv.conf to chroot before installation"
(rvykydal)
- Do not use systemd-resolved in installer environment on RHEL (rvykydal)
- Do not write LVM devices file during image installation (vtrefny)
* Wed Mar 06 2024 Adam Williamson <awilliam@redhat.com> - 40.22.2-2 * Thu Sep 26 2024 Packit <hello@packit.dev> - 41.34-1
- Fix scheduling actions in reclaim space dialog (#2311936) (vtrefny)
* Mon Sep 23 2024 Packit <hello@packit.dev> - 41.33-1
- New version - 41.33 (k.koukiou)
* Thu Aug 22 2024 Packit <hello@packit.dev> - 41.31-1
- docs: update release note about modularity deprecation (kkoukiou)
- Add support for creating LUKS HW-OPAL devices (vtrefny)
- Adjust to pykickstart moving new partition and autopart commands to F41
(kkoukiou)
- pyanaconda: remove code paths around module command parsing as this was
deprecated (kkoukiou)
- Improve code based on min/max recommendation (jkonecny)
- Support DNF5's config-manager (marusak.matej)
- network: ignore kickstart configuration of nBFT devices (rvykydal)
- network: do not dump configurations of nBFT devices (rvykydal)
- network: ignore nBFT devices connections in network configuration (rvykydal)
- network: add a test for ignoring ifname=nbft* for device renaming (rvykydal)
- network: do not create empty dir for only ifname=nbft* options (rvykydal)
- network: Avoid creating link files for 'nbft' interfaces (tbzatek)
* Tue Aug 20 2024 Packit <hello@packit.dev> - 41.30-1
- Use proxy server also for FTP .treeinfo download (jkonecny)
- Fix the VNC question (#2293672) (mkolman)
- Check if text mode was actually requested by kickstart (#2293672) (mkolman)
* Tue Aug 13 2024 Packit <hello@packit.dev> - 41.29-1
- Remove deprecated warnings for inst prefix (rolivier)
- Fix using kickstart mount command with device ID (vtrefny)
- Update documentation for the update_iso script (jkonecny)
- Add support for Live ISO to rebuild_boot_iso (jkonecny)
* Tue Aug 06 2024 Packit <hello@packit.dev> - 41.28-1
- Adjust custom partitioning and storage spokes to the device ID API (vtrefny)
- Adjust resize module to the device ID API (vtrefny)
- Add a custom function for recreating btrfs subvolumes (vtrefny)
- Use blivet's "device ID" as a unique device identifier (vtrefny)
- Fix mock LUKS devices logic in tests (vtrefny)
- Fix checking for locked LUKS devices (vtrefny)
- util: Add additional information for EFI systems (riehecky)
- Add release note for network port devices' default configuration profiles
(rvykydal)
* Tue Jul 30 2024 Packit <hello@packit.dev> - 41.27-1
- Remove threading compatibility layer (kkoukiou)
* Tue Jul 23 2024 Packit <hello@packit.dev> - 41.26-1
- Don't use tmpfs in build if not enough RAM (lifto)
- Document RHEL 10 specifics for container shell (mkolman)
- storage: add EFI partition in the windows OS devices if it's detected
(kkoukiou)
- storage: add windows system to GetExistingSystems (kkoukiou)
- storage: store the partition type name in device attrs for partitions
(kkoukiou)
- Clean up the code by removing the utils directory (rolivier)
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 41.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Jul 16 2024 Packit <hello@packit.dev> - 41.25-1
- makeupdates: Bump Python version in site packages path to 3.13 (vtrefny)
- Apply suggestions from Rodolfo (martin.kolman)
- Scripts for local boot.iso updates workflow (mkolman)
- Fix unit_tests/pyanaconda_tests/core/test_threads.py:140:20: E721 (kkoukiou)
- Fix pyanaconda/modules/network/nm_client.py:576:21: PLR1704 (kkoukiou)
- Fix pyanaconda/core/users.py:408:21: PLR1704 (kkoukiou)
* Tue Jul 09 2024 Packit <hello@packit.dev> - 41.24-1
- Update translations from Weblate for master (github-actions)
- tests: storage: conditionally run btrfs tests if command is not removed
(kkoukiou)
- tests: allow the module specification to contain removed commands (kkoukiou)
* Tue Jul 02 2024 Packit <hello@packit.dev> - 41.23-1
- Update translations from Weblate for master (github-actions)
- chore: remove unused atk in BaseWindow.c (freya)
- Replace deprecated methods to avoid warnings (rolivier)
- Do not mark ancestors of device with source or stage2 as protected (rvykydal)
* Tue Jun 25 2024 Packit <hello@packit.dev> - 41.22-1
- Update translations from Weblate for master (github-actions)
* Tue Jun 11 2024 Python Maint <python-maint@redhat.com> - 41.20-2
- Rebuilt for Python 3.13
* Tue Jun 11 2024 Packit <hello@packit.dev> - 41.20-1
- Update translations from Weblate for master (github-actions)
- Fix issues for new pylint check (jkonecny)
- Use InconsistentParentSectorSize instead of InconsistentPVSectorSize
(vtrefny)
- Do not require libreport on RHEL 10 (mkolman)
- Update translations from Weblate for master (github-actions)
- Get kickstart data via DBus (akankovs)
- Adding a implementation for runtime and ui commands (akankovs)
- Update tests for kickstart commands (akankovs)
- Migration of the remaining kickstart commands to the Runtime module
(akankovs)
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 41.19-2
- Rebuilt for Python 3.13
* Tue Jun 04 2024 Packit <hello@packit.dev> - 41.19-1
- dracut: Remove 'linear' from modules to load (vtrefny)
- Remove 'linear' from list of expected MD RAID levels (vtrefny)
* Tue May 28 2024 Packit <hello@packit.dev> - 41.18-1
- Do not imply that Fedora ELN has an EULA (sgallagh)
- Update translations from Weblate for master (github-actions)
- Deprecate kickstart modularity module (marusak.matej)
- Remove Javascript leftovers from Makefile (jkonecny)
- Revert "Ignore npm packages files for translation" (jkonecny)
- Update translations from Weblate for master (github-actions)
- docs: Add guide how to debug/develop GH workflows (jkonecny)
* Tue May 21 2024 Packit <hello@packit.dev> - 41.17-1
- RHEL moved from Bugzilla to Jira (jstodola)
- Update translations from Weblate for master (github-actions)
- docs: Fix link on ci-status page (jkonecny)
- docs: Fix link on ci status for container updates (jkonecny)
- gui: Fix displaying of the device label (yueyuankun)
- Stop pretending liveinst+vnc is supported (#678354) (kkoukiou)
- Use the standalone crypt_r package on Fedora 41+ (miro)
- Write a warning rescue selinux (akankovs)
Resolves: RHEL-14005
* Tue Apr 30 2024 Katerina Koukiou <kkoukiou@redhat.com> - 41.15-1
- Update to upstream release 41.15
* Tue Apr 23 2024 Packit <hello@packit.dev> - 41.14-1
- Revert "infra: Packit fix empty jobs field" (kkoukiou)
* Thu Apr 18 2024 Packit <hello@packit.dev> - 41.13-1
- Fix signature of the method passed to DNF (jkonecny)
- Do not include teamd on RHEL (rvykydal)
- network: guard team devices configuration in kickstart by capabilities
(rvykydal)
* Tue Apr 09 2024 Packit <hello@packit.dev> - 41.9-1
- Update translations from Weblate for master (github-actions)
* Tue Mar 26 2024 Packit <hello@packit.dev> - 41.7-1
- Update translations from Weblate for master (github-actions)
- Disable preexec for vtActivate() (mkolman)
* Tue Mar 19 2024 Packit <hello@packit.dev> - 41.6-1
- install-img-deps: Require podman (walters)
* Wed Mar 06 2024 Adam Williamson <awilliam@redhat.com> - 41.2-2
- Backport PR #5508 to make bootupd create EFI boot manager entries (#2268505) - Backport PR #5508 to make bootupd create EFI boot manager entries (#2268505)
* Tue Feb 20 2024 Packit <hello@packit.dev> - 40.22.2-1 * Tue Feb 20 2024 Packit <hello@packit.dev> - 41.2-1
- Test for task category and category API (akankovs) - Test for task category and category API (akankovs)
- Creating categories dbus API for installation phases (akankovs) - Creating categories dbus API for installation phases (akankovs)
* Thu Feb 15 2024 Packit <hello@packit.dev> - 40.22.1-1 * Fri Feb 16 2024 Packit <hello@packit.dev> - 41.1-1
- Set up the fedora-40 branch (mkolman) - bump major version number for Rawhide after F40 branching (mkolman)
* Tue Feb 06 2024 Adam Williamson <awilliam@redhat.com> - 40.21-2 * Tue Feb 06 2024 Adam Williamson <awilliam@redhat.com> - 40.21-2
- Backport PR #5460 to fix ostree btrfs installs with new util-linux (#2262892) - Backport PR #5460 to fix ostree btrfs installs with new util-linux (#2262892)