From fc93e8c4bab976d896907a05e283b1545e1f8a3c Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jul 28 2020 11:41:31 +0000 Subject: import anaconda-33.16.3.10-1.el8 --- diff --git a/.anaconda.metadata b/.anaconda.metadata index bbbfb5c..050cbc1 100644 --- a/.anaconda.metadata +++ b/.anaconda.metadata @@ -1 +1 @@ -f52def557460c039fab87772165c26c256f92ce3 SOURCES/anaconda-29.19.2.6.tar.bz2 +8dfbf6b1c01a27b19142f3f82d81410561c73a1c SOURCES/anaconda-33.16.3.10.tar.bz2 diff --git a/.gitignore b/.gitignore index 0dfde85..7c7a1c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/anaconda-29.19.2.6.tar.bz2 +SOURCES/anaconda-33.16.3.10.tar.bz2 diff --git a/README.debrand b/README.debrand deleted file mode 100644 index 01c46d2..0000000 --- a/README.debrand +++ /dev/null @@ -1,2 +0,0 @@ -Warning: This package was configured for automatic debranding, but the changes -failed to apply. diff --git a/SPECS/anaconda.spec b/SPECS/anaconda.spec index 99e123e..e77a619 100644 --- a/SPECS/anaconda.spec +++ b/SPECS/anaconda.spec @@ -1,15 +1,8 @@ -%define livearches %{ix86} x86_64 ppc ppc64 ppc64le - -# Avoid anaconda-core requiring gjs-console due to the GNOME welcome -# screen that's shipped in it -%global __requires_exclude_from ^%{_datadir}/anaconda/gnome/rhel-welcome.*$ - Summary: Graphical system installer Name: anaconda -Version: 29.19.2.6 +Version: 33.16.3.10 Release: 1%{?dist} License: GPLv2+ and MIT -Group: Applications/System URL: http://fedoraproject.org/wiki/Anaconda # To generate Source0 do: @@ -22,6 +15,9 @@ Source0: %{name}-%{version}.tar.bz2 # Versions of required components (done so we make sure the buildrequires # match the requires versions of things). +%if ! 0%{?rhel} +%define blivetguiver 2.1.12-1 +%endif %define dbusver 1.2.3 %define dnfver 3.6.0 %define dracutver 034-7 @@ -30,20 +26,22 @@ Source0: %{name}-%{version}.tar.bz2 %define gtk3ver 3.22.17 %define helpver 22.1-1 %define isomd5sum 1.0.10 -%define langtablever 0.0.34 +%define langtablever 0.0.49 %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 pykickstartver 3.16.8-1 +%define pykickstartver 3.16.11-1 %define pypartedver 2.5-2 %define rpmver 4.10.0 %define simplelinever 1.1-1 %define utillinuxver 2.15.1 +%define dasbusver 0.4 BuildRequires: audit-libs-devel +BuildRequires: libtool BuildRequires: gettext-devel >= %{gettextver} BuildRequires: gtk3-devel >= %{gtk3ver} BuildRequires: gtk-doc @@ -61,9 +59,6 @@ BuildRequires: systemd # rpm and libarchive are needed for driver disk handling BuildRequires: rpm-devel >= %{rpmver} BuildRequires: libarchive-devel >= %{libarchivever} -%ifarch %livearches -BuildRequires: desktop-file-utils -%endif %ifarch s390 s390x BuildRequires: s390utils-devel %endif @@ -85,7 +80,7 @@ The anaconda package is a metapackage for the Anaconda installer. Summary: Core of the Anaconda installer Requires: python3-libs Requires: python3-dnf >= %{dnfver} -Requires: python3-blivet >= 1:3.1.0-12 +Requires: python3-blivet >= 1:3.2.2-1 Requires: python3-blockdev >= %{libblockdevver} Requires: python3-meh >= %{mehver} Requires: libreport-anaconda >= 2.0.21-1 @@ -96,17 +91,19 @@ Requires: python3-requests Requires: python3-requests-file Requires: python3-requests-ftp Requires: python3-kickstart >= %{pykickstartver} -Requires: langtable-data >= %{langtablever} -Requires: langtable-python3 >= %{langtablever} +Requires: python3-langtable >= %{langtablever} Requires: util-linux >= %{utillinuxver} Requires: python3-gobject-base Requires: python3-dbus Requires: python3-pwquality Requires: python3-systemd -Requires: python3-pydbus Requires: python3-productmd +Requires: python3-dasbus >= %{dasbusver} +Requires: flatpak-libs +%if 0%{?rhel} Requires: python3-syspurpose Requires: subscription-manager >= 1.26 +%endif # pwquality only "recommends" the dictionaries it needs to do anything useful, # which is apparently great for containers but unhelpful for the rest of us @@ -114,16 +111,12 @@ Requires: cracklib-dicts Requires: python3-pytz Requires: teamd -%ifarch %livearches -Requires: usermode -%endif %ifarch s390 s390x Requires: openssh %endif Requires: NetworkManager >= %{nmver} Requires: NetworkManager-libnm >= %{nmver} Requires: NetworkManager-team -Requires: dhclient Requires: kbd Requires: chrony Requires: python3-ntplib @@ -131,7 +124,9 @@ Requires: systemd Requires: python3-pid Requires: python3-ordered-set >= 2.0.0 -Requires: platform-python-coverage +# Required by the systemd service anaconda-fips. +Requires: crypto-policies +Requires: /usr/bin/update-crypto-policies # required because of the rescue mode and VNC question Requires: anaconda-tui = %{version}-%{release} @@ -139,16 +134,41 @@ Requires: anaconda-tui = %{version}-%{release} # Make sure we get the en locale one way or another Requires: glibc-langpack-en +# anaconda literally runs its own dbus-daemon, so it needs this, +# even though the distro default is dbus-broker in F30+ +Requires: dbus-daemon + +# Ensure it's not possible for a version of grubby to be installed +# that doesn't work with btrfs subvolumes correctly... +Conflicts: grubby < 8.40-10 + Obsoletes: anaconda-images <= 10 Provides: anaconda-images = %{version}-%{release} Obsoletes: anaconda-runtime < %{version}-%{release} Provides: anaconda-runtime = %{version}-%{release} Obsoletes: booty <= 0.107-1 +# native i686 installations are not supported on RHEL8 and Anaconda +# is not a i686 compatibility library, so building it for i686 does not +# make sense +ExcludeArch: i686 + %description core The anaconda-core package contains the program which was used to install your system. +%package live +Summary: Live installation specific files and dependencies +BuildRequires: desktop-file-utils +# live installation currently implies a graphical installation +Requires: anaconda-gui = %{version}-%{release} +Requires: usermode +Requires: zenity + +%description live +The anaconda-live package contains scripts, data and dependencies required +for live installations. + %package install-env-deps Summary: Installation environment specific dependencies Requires: udisks2-iscsi @@ -159,6 +179,12 @@ Requires: isomd5sum >= %{isomd5sum} %ifarch %{ix86} x86_64 Requires: fcoe-utils >= %{fcoeutilsver} %endif +# likely HFS+ resize support +%ifarch %{ix86} x86_64 +%if ! 0%{?rhel} +Requires: hfsplus-tools +%endif +%endif # kexec support Requires: kexec-tools Requires: createrepo_c @@ -184,15 +210,15 @@ Requires: libxklavier >= %{libxklavierver} Requires: libgnomekbd Requires: libtimezonemap >= %{libtimezonemapver} Requires: nm-connection-editor -%ifarch %livearches -Requires: zenity -%endif Requires: keybinder3 %ifnarch s390 s390x Requires: NetworkManager-wifi %endif Requires: anaconda-user-help >= %{helpver} Requires: yelp +%if ! 0%{?rhel} +Requires: blivet-gui-runtime >= %{blivetguiver} +%endif Requires: system-logos # Needed to compile the gsettings files @@ -212,15 +238,13 @@ This package contains textual user interface for the Anaconda installer. %package widgets Summary: A set of custom GTK+ widgets for use with anaconda -Group: System Environment/Libraries -%{?__python3:Requires: %{__python3}} +Requires: %{__python3} %description widgets This package contains a set of custom GTK+ widgets used by the anaconda installer. %package widgets-devel Summary: Development files for anaconda-widgets -Group: Development/Libraries Requires: glade Requires: %{name}-widgets%{?_isa} = %{version}-%{release} @@ -243,7 +267,7 @@ options. This includes driver disks, kickstarts, and finding the anaconda runtime on NFS/HTTP/FTP servers or local disks. %prep -%autosetup -p1 +%autosetup -p 1 %build # use actual build-time release number, not tarball creation time release number @@ -257,24 +281,12 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm} # Create an empty directory for addons mkdir %{buildroot}%{_datadir}/anaconda/addons -%ifarch %livearches +# required for live installations desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/liveinst.desktop -%endif -# NOTE: If you see "error: Installed (but unpackaged) file(s) found" that include liveinst files, -# check the IS_LIVEINST_ARCH in configure.ac to make sure your architecture is properly defined # If no langs found, keep going %find_lang %{name} || : -%ifarch %livearches -%post -update-desktop-database &> /dev/null || : -%endif - -%ifarch %livearches -%postun -update-desktop-database &> /dev/null || : -%endif # main package and install-env-deps are metapackages %files @@ -293,9 +305,12 @@ update-desktop-database &> /dev/null || : %{_sbindir}/anaconda %{_sbindir}/handle-sshpw %{_datadir}/anaconda -# Remove blivet-gui -%exclude %{_datadir}/anaconda/ui/spokes/blivet_gui.* %{_prefix}/libexec/anaconda +%exclude %{_datadir}/anaconda/gnome +%exclude %{_datadir}/anaconda/pixmaps +%exclude %{_datadir}/anaconda/ui +%exclude %{_datadir}/anaconda/window-manager +%exclude %{_datadir}/anaconda/anaconda-gtk.css %exclude %{_prefix}/libexec/anaconda/dd_* %{python3_sitearch}/pyanaconda %exclude %{python3_sitearch}/pyanaconda/rescue.py* @@ -304,20 +319,34 @@ update-desktop-database &> /dev/null || : %exclude %{python3_sitearch}/pyanaconda/ui/tui/* %{_bindir}/analog %{_bindir}/anaconda-cleanup -%ifarch %livearches +%dir %{_sysconfdir}/%{name} +%config %{_sysconfdir}/%{name}/* +%dir %{_sysconfdir}/%{name}/conf.d +%config %{_sysconfdir}/%{name}/conf.d/* +%dir %{_sysconfdir}/%{name}/product.d +%config %{_sysconfdir}/%{name}/product.d/* + +%files live %{_bindir}/liveinst %{_sbindir}/liveinst %config(noreplace) %{_sysconfdir}/pam.d/* %config(noreplace) %{_sysconfdir}/security/console.apps/* %{_libexecdir}/liveinst-setup.sh %{_datadir}/applications/*.desktop +%{_datadir}/anaconda/gnome %{_sysconfdir}/xdg/autostart/*.desktop -%endif %files gui %{python3_sitearch}/pyanaconda/ui/gui/* +%{_datadir}/anaconda/pixmaps +%{_datadir}/anaconda/ui +%if 0%{?rhel} # Remove blivet-gui +%exclude %{_datadir}/anaconda/ui/spokes/blivet_gui.* %exclude %{python3_sitearch}/pyanaconda/ui/gui/spokes/blivet_gui.* +%endif +%{_datadir}/anaconda/window-manager +%{_datadir}/anaconda/anaconda-gtk.css %files tui %{python3_sitearch}/pyanaconda/rescue.py @@ -331,6 +360,7 @@ update-desktop-database &> /dev/null || : %files widgets-devel %{_libdir}/libAnacondaWidgets.so +%{_libdir}/glade/modules/libAnacondaWidgets.so %{_includedir}/* %{_datadir}/glade/catalogs/AnacondaWidgets.xml %{_datadir}/gtk-doc @@ -341,8 +371,266 @@ update-desktop-database &> /dev/null || : %{_prefix}/libexec/anaconda/dd_* %changelog -* Tue Jan 21 2020 CentOS Sources - 29.19.2.6-1.el8.centos -- Apply debranding changes +* Mon Jun 29 2020 Radek Vykydal - 33.16.3.10-1 +- Fix RHSM HTTP proxy configuration crash in the GUI (mkolman) + Resolves: rhbz#1849792 +- subscription: Handle cases where CDN should not be the default (mkolman) + Related: rhbz#1845605 +- subscription: Set DNF payload source via config file option (mkolman) + Related: rhbz#1845605 +- subscription: Manual CDN selection support (mkolman) + Related: rhbz#1845605 +- subscription: Handle source switching at registration/unregistration + (mkolman) + Related: rhbz#1845605 +- subscription: Introduce the default_source configuration option (mkolman) + Related: rhbz#1845605 +- network: do not enforce network standalone spoke on default source (rvykydal) + Resolves: rhbz#1848069 +- Don't mount DBus sources at /run/install/source (vponcova) + Resolves: rhbz#1851037 + +* Thu Jun 25 2020 Radek Vykydal - 33.16.3.9-1 +- network: fix obtaining of s390 options of a wired connection (rvykydal) + Resolves: rhbz#1850199 +- Always specify the boot disk (vponcova) + Resolves: rhbz#1630299 +- Remove the workaround with LD_PRELOAD (vponcova) + Resolves: rhbz#1843533 +- Exclude stderr from returned output when executing powerpc-utils tools + (javierm) + Related: rhbz#1847604 +- Rename function for a simple check for DNF repository (jkonecny) + Related: rhbz#1849093 +- Add tests for verify_valid_installtree function (jkonecny) + Related: rhbz#1849093 +- Move verify_valid_installtree to source module utils (jkonecny) + Related: rhbz#1849093 +- Do not test if repo is valid based on .treeinfo file (jkonencny) + Resolves: rhbz#1849093 +- Add test for NFS URL with ISO in path (jkonecny) + Related: rhbz#1849083 +- Fix issue when NFS path is pointing directly to ISO (jkonencny) + Resolves: rhbz#1849083 + +* Tue Jun 23 2020 Radek Vykydal - 33.16.3.8-1 +- Move Subscription spoke under Software (vslavik) + Resolves: rhbz#1845493 +- Fix hiding of network device activation switch (rvykydal) + Resolves: rhbz#1628521 + +* Mon Jun 22 2020 Radek Vykydal - 33.16.3.7-1 +- Fix wireless network configuration on get_ssid() returning None (rvykydal) + Resolves: rhbz#1847681 +- Relabel whole /etc instead of only some parts (vslavik) + Related: rhbz#1775975 + Related: rhbz#1834189 +- Clean up lists of files and directories to relabel (vslavik) + Related: rhbz#1775975 + Related: rhbz#1834189 +- Fix spanish translations (rvykydal) + Resolves: rhbz#1847977 + +* Mon Jun 15 2020 Radek Vykydal - 33.16.3.6-1 +- Fix regression reading kernel list when collecting configurations (jkonecny) + Resolves: rhbz#1846156 +- Prevent crash on unregistration (mkolman) + Resolves: rhbz#1845962 +- Check Subscription module is available before use in payload code (mkolman) + Related: rhbz#1845605 +- Fix updating of user gid/uid value checkbox in gui (rvykydal) + Related: rhbz#1844386 +- Fix crash on user uid/gid unchecked in gui (rvykydal) + Resolves: rhbz#1844386 +- Fix passing of arguments when creating dracut arguments for FCoE (rvykydal) + Resolves: rhbz#1843741 +- Do not build Anaconda on i686 (mkolman) + Related: rhbz#1691319 + +* Thu Jun 04 2020 Radek Vykydal - 33.16.3.5-1 +- Don't use data.method.proxy (vponcova) + Related: rhbz#1691319 +- Fix more SElinux contexts (vslavik) + Resolves: rhbz#1834189 + Resolves: rhbz#1775975 +- localization: do not crash on failed parsing of X layout (rvykydal) + Resolves: rhbz#1843379 + +* Fri May 29 2020 Radek Vykydal - 33.16.3.4-1 +- Create /etc/systemd/network dir for ifname= renaming if needed. (rvykydal) + Resolves: rhbz#1841469 +- Update requirements for fips - update-crypto-policies script (rvykydal) + Resolves: rhbz#1841471 + +* Thu May 28 2020 Radek Vykydal - 33.16.3.3-1 +- Convert help system to use help id (mkolman) + Related: rhbz#1691319 +- Remove unused constants (mkolman) + Related: rhbz#1691319 +- Adjust help related configuration options (mkolman) + Related: rhbz#1691319 +- Replace helpFile property with help_id (mkolman) + Related: rhbz#1691319 +- Close responses from session.get (vponcova) + Related: rhbz#1691319 +- Improve the documentation of the SetUpMountTask class (vponcova) + Related: rhbz#1691319 +- Raise an exception if the source's mount point is not unmounted (vponcova) + Related: rhbz#1691319 +- Change the default source to CDROM (vponcova) + Related: rhbz#1691319 +- Don't set up sources in the refresh method of the Source spoke (vponcova) + Related: rhbz#1691319 +- Set up FIPS in the target system (vponcova) + Related: rhbz#1800697 +- Update the service anaconda-sshd (vponcova) + Related: rhbz#1800697 +- Set up FIPS in the installation environment (vponcova) + Resolves: rhbz#1800697 +- Add NFS ISO support back to the NFS SetupSourceTask (jkonecny) + Resolves: rhbz#1840346 +- Add NFS ISO support to the NFSSourceModule (jkonencny) + Related: rhbz#1840346 +- Fix changelog to keep rhel history (rvykydal) + Related: rhbz#1691319 +- Tear down HDD device mount if no valid installation source is found + (jkonecny) + Related: rhbz#1840346 +- Extract ISO find algorith from harddrive (jkonecny) + Related: rhbz#1840346 +- Update required ack in makebumpver script for rhel > 7 (rvykydal) + Related: rhbz#1691319 +- Fix string based on translator comments (vslavik) + Related: rhbz#1691319 +- subscription: Fix authentication method switching in GUI (mkolman) + Related: rhbz#1691319 + +* Wed May 27 2020 Radek Vykydal - 33.16.3.2-1 +- subscription: Make sure CDN repos are loaded and usable (mkolman) + Related: rhbz#1691319 +- Fix issue that unified ISO from URL is not loaded (jkonecny) + Related: rhbz#1691319 +- Add split_protocol payload helper function (jkonecny) + Related: rhbz#1691319 +- Fix imports of Blivet-GUI in unit tests (vponcova) + Related: rhbz#1691319 +- Make cppcheck ignore the G_DEFINE_TYPE macros (vslavik) + Related: rhbz#1691319 +- Fix test to not use Python 3.8 feature (vslavik) + Related: rhbz#1691319 +- Fix test for root SSH login allowed (vslavik) + Related: rhbz#1691319 +- Remove blivet-GUI tests (vslavik) + Related: rhbz#1691319 +- Ignore no return from BTRFS (vslavik) + Related: rhbz#1691319 +- Remove unused imports (vslavik) + Related: rhbz#1691319 + +* Mon May 25 2020 Radek Vykydal - 33.16.3.1-1 +- Change git branch configuration (jkonecny) + Related: rhbz#1805757 +- Update translation badge (jkonecny) + Related: rhbz#1805757 +- Use rhel-8 weblate translation repository (jkonecny) + Resolves: rhbz#1805757 +- Use platform-python instead of python3 (vslavik) + Related: rhbz#1691319 +- root spoke gui: do not expose some root account options (eg locking) (rvykydal) + Related: rhbz#1691319 +- Modify locking of root defauls for rhel (rvykydal) + Related: rhbz#1691319 +- Update required version of blivet (rvykydal) + Related: rhbz#1691319 +- Remove tests for --ignorebroken %packages section option (rvykydal) + Related: rhbz#1691319 +- Remove support for --ignorebroken %packages option (rvykydal) + Related: rhbz#1691319 +- Use F25_Timezone (rvykydal) + Related: rhbz#1691319 +- Make sure rhsm.service is running at Anaconda startup (mkolman) + Related: rhbz#1691319 +- Replace SimpleQueue with Queue (vponcova) + Related: rhbz#1691319 +- Change fedora-welcome to rhel-welcome (bcl) + Related: rhbz#1691319 +- Make RHEL the default (fallback) product (vslavik) + Related: rhbz#1691319 +- Exclude blivet gui source from rpm_test (rvykydal) + Related: rhbz#1691319 +- Exclude dependencies for tests from RHEL-8 (jkonecny) + Related: rhbz#1691319 +- Update pykickstart version for rhel (rvykydal) + Related: rhbz#1691319 +- Use RHEL8 versions of commands (rvykydal) + Related: rhbz#1691319 +- Use RHEL8 kickstart handler (rvykydal) + Related: rhbz#1691319 +- Remove kickstart btrfs support (rvykydal) + Related: rhbz#1691319 +- Rebase to upstream 33.16 version (rvykydal) + Resolves: rhbz#1691319 + +* Fri Mar 13 2020 Radek Vykydal - 29.19.2.17-1 +- Make sure rhsm.service is running at Anaconda startup (mkolman) + Resolves: rhbz#1805266 + +* Fri Feb 21 2020 Radek Vykydal - 29.19.2.16-1 +- Fix crash on single disk selection in GUI (rvykydal) + Resolves: rhbz#1805613 + +* Thu Feb 20 2020 Radek Vykydal - 29.19.2.15-1 +- Fix installation source switching to/from CDN (mkolman) + Resolves: rhbz#1788487 + Resolves: rhbz#1790383 + Resolves: rhbz#1791376 + +* Thu Feb 20 2020 Radek Vykydal - 29.19.2.14-1 +- Do not allow selecting ignored disk in GUI even if it is the only one + (rvykydal) + Resolves: rhbz#1786561 + +* Tue Feb 11 2020 Radek Vykydal - 29.19.2.13-1 +- Disable package download to / /tmp (jkonecny) + Resolves: rhbz#1781517 + +* Thu Feb 06 2020 Radek Vykydal - 29.19.2.12-1 +- network: fix GUI crash on invalid devices in the list (rvykydal) + Resolves: rhbz#1697256 + +* Mon Feb 03 2020 Radek Vykydal - 29.19.2.11-1 +- Fix DBus error detection (mkolman) + Related: rhbz#1794767 +- Make sure RHSM HTTP proxy port from kickstart is an integer (mkolman) + Resolves: rhbz#1794025 + +* Thu Jan 23 2020 Radek Vykydal - 29.19.2.10-1 +- Log exceptions raised in subscription data fetching method (mkolman) + Related: rhbz#1788036 +- Fix subscription status not being displayed in some cases (mkolman) + Resolves: rhbz#1788036 +- Make sure syspurpose is set before registration in GUI (mkolman) + Resolves: rhbz#1788207 + Related: rhbz#1788036 +- Update pep8speaks checker configuration for the branch (rvykydal) + Related: rhbz#1788036 + +* Thu Jan 16 2020 Radek Vykydal - 29.19.2.9-1 +- Fix RHSM HTTP proxy configuration clearing (mkolman) + Resolves: rhbz#1789814 +- Add scrolling for the registration tab (mkolman) + Resolves: rhbz#1788422 + +* Thu Jan 09 2020 Radek Vykydal - 29.19.2.8-1 +- Fix output kickstart generation for subscription commands (mkolman) + Resolves: rhbz#1788579 + Resolves: rhbz#1788513 +- Fix GTK access from subscription thread (mkolman) + Resolves: rhbz#1787615 + +* Mon Jan 06 2020 Radek Vykydal - 29.19.2.7-1 +- Fix branding in the Connect to Red Hat spoke (mkolman) + Resolves: rhbz#1787342 * Fri Dec 13 2019 Radek Vykydal - 29.19.2.6-1 - Fix RHSM HTTP proxy setup (mkolman)