import initial-setup-0.3.81.7-1.el8
This commit is contained in:
parent
35523a7a86
commit
08bac73067
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/initial-setup-0.3.81.5.tar.gz
|
SOURCES/initial-setup-0.3.81.7.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
98caebd7153a2c2fefcdd1f9f61aef07393153e9 SOURCES/initial-setup-0.3.81.5.tar.gz
|
09b19fad73510970aa0eb19990229acf690051b7 SOURCES/initial-setup-0.3.81.7.tar.gz
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Initial system configuration utility
|
Summary: Initial system configuration utility
|
||||||
Name: initial-setup
|
Name: initial-setup
|
||||||
URL: https://fedoraproject.org/wiki/InitialSetup
|
URL: https://fedoraproject.org/wiki/InitialSetup
|
||||||
Version: 0.3.81.5
|
Version: 0.3.81.7
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
# This is a Red Hat maintained package which is specific to
|
# This is a Red Hat maintained package which is specific to
|
||||||
@ -78,33 +78,6 @@ make DESTDIR=%{buildroot} install
|
|||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
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
|
%post
|
||||||
%systemd_post initial-setup.service
|
%systemd_post initial-setup.service
|
||||||
|
|
||||||
@ -114,33 +87,6 @@ fi
|
|||||||
%postun
|
%postun
|
||||||
%systemd_postun initial-setup.service
|
%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
|
%files -f %{name}.lang
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -166,6 +112,12 @@ fi
|
|||||||
%{python3_sitelib}/initial_setup/gui/*
|
%{python3_sitelib}/initial_setup/gui/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 24 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81.7-1
|
||||||
|
- Fix translations for EULA spoke related strings (mkolman)
|
||||||
|
|
||||||
|
* Fri Jul 17 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81.6-1
|
||||||
|
- Remove old failing pre scriptlet (mkolman)
|
||||||
|
|
||||||
* Thu Jun 25 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81.5-1
|
* Thu Jun 25 2020 Martin Kolman <mkolman@redhat.com> - 0.3.81.5-1
|
||||||
- Disable multi TTY handler when running in SSH session (mkolman)
|
- Disable multi TTY handler when running in SSH session (mkolman)
|
||||||
- Add CLI option to disable multi TTY handler (mkolman)
|
- Add CLI option to disable multi TTY handler (mkolman)
|
||||||
|
Loading…
Reference in New Issue
Block a user