Compare commits

..

No commits in common. "b3c0ea469184c4ff8969fb1c8189dca4043a9a1e" and "dda359bd2e022273d76c8eaba39012f4ff591b55" have entirely different histories.

5 changed files with 63 additions and 63 deletions

7
.gitignore vendored
View File

@ -82,10 +82,3 @@
/initial-setup-0.3.83.tar.gz
/initial-setup-0.3.84.tar.gz
/initial-setup-0.3.85.tar.gz
/initial-setup-0.3.86.tar.gz
/initial-setup-0.3.87.tar.gz
/initial-setup-0.3.88.tar.gz
/initial-setup-0.3.89.tar.gz
/initial-setup-0.3.90.tar.gz
/initial-setup-0.3.90.1.tar.gz
/initial-setup-0.3.90.2.tar.gz

View File

@ -1 +0,0 @@
8ce20a36d51b740faf5f20effdffdf1f44218a6c initial-setup-0.3.90.2.tar.gz

View File

@ -1,9 +0,0 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-x86_64-gui-starts.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-x86_64-tui-starts.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-x86_64-accept-eula.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-other-archs-tui-starts.functional}

View File

@ -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)

View File

@ -1 +1 @@
SHA512 (initial-setup-0.3.90.2.tar.gz) = a8b0ce28e7eb4daa99e696e01477a7ea1eab0a101a32da329e2daddbfb2e8e596970c2af24abcb6af3b07dc6ee3f7b7a588e0d780d6e596295e02bcd0e801bbc
SHA512 (initial-setup-0.3.85.tar.gz) = d4cfb86db8a24005786f1b3f4469023dd476c172399ac37dfb7fc671fc1ffacedf5099427be9f83647a2b1f2eaebde46eb1622cac98329e3dce2319abc538a1b