|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
Summary: Initial system configuration utility
|
|
|
|
|
Name: initial-setup
|
|
|
|
|
URL: https://fedoraproject.org/wiki/InitialSetup
|
|
|
|
|
Version: 0.3.90.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.3.85
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
# This is a Red Hat maintained package which is specific to
|
|
|
|
|
# our distribution.
|
|
|
|
@ -19,11 +19,12 @@ License: GPLv2+
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-nose
|
|
|
|
|
BuildRequires: systemd-units
|
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
|
BuildRequires: glade-devel
|
|
|
|
|
BuildRequires: anaconda >= %{anacondaver}
|
|
|
|
|
BuildRequires: intltool
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
Requires: %{__python3}
|
|
|
|
|
Requires: anaconda-tui >= %{anacondaver}
|
|
|
|
@ -61,6 +62,9 @@ rm -rf *.egg-info
|
|
|
|
|
%build
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
@ -70,6 +74,33 @@ make DESTDIR=%{buildroot} install
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
# There is a possibility that an initial setup service might be running
|
|
|
|
|
# during package upgrade, which can together with an old version
|
|
|
|
|
# of initial setup (<= 0.3.36) cause the rpm transaction to deadlock.
|
|
|
|
|
# So turn of and disable any Initial Setup services if the pre
|
|
|
|
|
# scriptlet is running during upgrade or package removal to prevent
|
|
|
|
|
# the deadlock.
|
|
|
|
|
|
|
|
|
|
# upgrade or package removal only
|
|
|
|
|
if [ $1 -gt 1 ] ; then
|
|
|
|
|
IS_GRAPHICAL="initial-setup-graphical.service"
|
|
|
|
|
IS_TEXT="initial-setup-text.service"
|
|
|
|
|
IS_GRAPHICAL_AVAILABLE=0
|
|
|
|
|
IS_TEXT_AVAILABLE=0
|
|
|
|
|
# check if the Initial Setup unit is enabled and the executable is available
|
|
|
|
|
systemctl is-enabled $IS_GRAPHICAL && IS_GRAPHICAL_AVAILABLE=1
|
|
|
|
|
systemctl is-enabled $IS_TEXT && IS_TEXT_AVAILABLE=1
|
|
|
|
|
if [ $IS_GRAPHICAL_AVAILABLE -eq 1 ]; then
|
|
|
|
|
systemctl stop $IS_GRAPHICAL
|
|
|
|
|
systemctl disable $IS_GRAPHICAL
|
|
|
|
|
fi
|
|
|
|
|
if [ $IS_TEXT_AVAILABLE -eq 1 ]; then
|
|
|
|
|
systemctl stop $IS_TEXT
|
|
|
|
|
systemctl disable $IS_TEXT
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
%systemd_post initial-setup.service
|
|
|
|
|
|
|
|
|
@ -79,8 +110,35 @@ rm -rf %{buildroot}
|
|
|
|
|
%postun
|
|
|
|
|
%systemd_postun initial-setup.service
|
|
|
|
|
|
|
|
|
|
%pre gui
|
|
|
|
|
# There is a possibility that an initial setup service might be running
|
|
|
|
|
# during package upgrade, which can together with an old version
|
|
|
|
|
# of initial setup (<= 0.3.36) cause the rpm transaction to deadlock.
|
|
|
|
|
# So turn off and disable any Initial Setup services if the pre
|
|
|
|
|
# scriptlet is running during upgrade or package removal to prevent
|
|
|
|
|
# the deadlock.
|
|
|
|
|
|
|
|
|
|
# upgrade or package removal only
|
|
|
|
|
if [ $1 -gt 1 ] ; then
|
|
|
|
|
IS_GRAPHICAL="initial-setup-graphical.service"
|
|
|
|
|
IS_TEXT="initial-setup-text.service"
|
|
|
|
|
IS_GRAPHICAL_AVAILABLE=0
|
|
|
|
|
IS_TEXT_AVAILABLE=0
|
|
|
|
|
# check if the Initial Setup unit is enabled and the executable is available
|
|
|
|
|
systemctl is-enabled $IS_GRAPHICAL && IS_GRAPHICAL_AVAILABLE=1
|
|
|
|
|
systemctl is-enabled $IS_TEXT && IS_TEXT_AVAILABLE=1
|
|
|
|
|
if [ $IS_GRAPHICAL_AVAILABLE -eq 1 ]; then
|
|
|
|
|
systemctl stop $IS_GRAPHICAL
|
|
|
|
|
systemctl disable $IS_GRAPHICAL
|
|
|
|
|
fi
|
|
|
|
|
if [ $IS_TEXT_AVAILABLE -eq 1 ]; then
|
|
|
|
|
systemctl stop $IS_TEXT
|
|
|
|
|
systemctl disable $IS_TEXT
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%doc README.rst ChangeLog
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{python3_sitelib}/initial_setup*
|
|
|
|
|
%exclude %{python3_sitelib}/initial_setup/gui
|
|
|
|
@ -104,47 +162,6 @@ rm -rf %{buildroot}
|
|
|
|
|
%{python3_sitelib}/initial_setup/gui/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.3.90.2-2
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Jun 11 2021 Martin Kolman <mkolman@redhat.com> - 0.3.90.2-1
|
|
|
|
|
- Disable multi TTY handler when running in SSH session (#1951577) (mkolman)
|
|
|
|
|
Resolves: rhbz#1951577
|
|
|
|
|
|
|
|
|
|
* Thu Jun 10 2021 Martin Kolman <mkolman@redhat.com> - 0.3.90.1-1
|
|
|
|
|
- Add gnome-kiosk to window managers usable by initial-setup (#1962198) (vponcova)
|
|
|
|
|
Resolves: rhbz#1962198
|
|
|
|
|
|
|
|
|
|
* Tue Mar 30 2021 Martin Kolman <mkolman@redhat.com> - 0.3.90-1
|
|
|
|
|
- Remove old failing pre scriptlet (mkolman)
|
|
|
|
|
|
|
|
|
|
* Tue Mar 23 2021 Martin Kolman <mkolman@redhat.com> - 0.3.89-1
|
|
|
|
|
- Include scripts in the updates image (vponcova)
|
|
|
|
|
- Drop build time dependency on the anaconda package (mkolman)
|
|
|
|
|
|
|
|
|
|
* Mon Feb 22 2021 Martin Kolman <mkolman@redhat.com> - 0.3.88-1
|
|
|
|
|
- Load the product configuration files (vponcova)
|
|
|
|
|
- Clean up the code (vponcova)
|
|
|
|
|
|
|
|
|
|
* Mon Feb 15 2021 Martin Kolman <mkolman@redhat.com> - 0.3.87-1
|
|
|
|
|
- Add BuildRequires: make (tstellar)
|
|
|
|
|
- Fixup version number in setup.py (mkolman)
|
|
|
|
|
|
|
|
|
|
* Fri Feb 12 2021 Martin Kolman <mkolman@redhat.com> - 0.3.86-1
|
|
|
|
|
- Drop python-nose from the dependencies (#1916799) (vponcova)
|
|
|
|
|
- Add the makeupdates script (vponcova)
|
|
|
|
|
- Remove deprecated support for add-ons (vponcova)
|
|
|
|
|
- Don't run installation tasks of add-ons in a meta task (vponcova)
|
|
|
|
|
- Migrate COPR builds from Jenkins to Packit (jkonecny)
|
|
|
|
|
- Add documentation for the new test solution (jkonecny)
|
|
|
|
|
- Add support for custom Anaconda COPR repository (jkonecny)
|
|
|
|
|
- Use `make test` to run TMT tests locally (jkonecny)
|
|
|
|
|
- Add TMT configuration to get Anaconda COPR build (jkonecny)
|
|
|
|
|
- Add Packit support for initial-setup (jkonecny)
|
|
|
|
|
- Update and use setup.py for archive creation (jkonecny)
|
|
|
|
|
- Fix ChangeLog generation in Makefile (jkonecny)
|
|
|
|
|
|
|
|
|
|
* Mon Dec 07 2020 Martin Kolman <mkolman@redhat.com> - 0.3.85-1
|
|
|
|
|
- Adapt to category title translation fix in Anaconda (mkolman)
|
|
|
|
|
|
|
|
|
|