Install vendor.conf to conditionally suppress certain pages

This commit is contained in:
Michael Catanzaro 2018-02-16 19:02:57 -06:00
parent aba2fd8da7
commit 97e7b9bf3e
2 changed files with 11 additions and 1 deletions

View File

@ -6,12 +6,13 @@
Name: gnome-initial-setup
Version: 3.27.90
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Bootstrapping your OS
License: GPLv2+
URL: https://wiki.gnome.org/Design/OS/InitialSetup
Source0: https://download.gnome.org/sources/%{name}/3.27/%{name}-%{version}.tar.xz
Source1: vendor.conf
Patch0: honor-firstboot-disabled.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=793501
Patch1: welcome-screen.patch
@ -85,6 +86,7 @@ desktop-file-validate %{buildroot}%{_datadir}/gdm/greeter/applications/gnome-ini
desktop-file-validate %{buildroot}%{_datadir}/gdm/greeter/applications/setup-shell.desktop
mkdir -p %{buildroot}%{_localstatedir}/lib/gnome-initial-setup
cp %{SOURCE1} %{buildroot}%{_localstatedir}/lib/gnome-initial-setup/
%find_lang %{name}
@ -107,7 +109,13 @@ useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} &>/dev/null ||
%{_datadir}/gnome-shell/modes/initial-setup.json
%{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules
%dir %{_localstatedir}/lib/gnome-initial-setup
%{_localstatedir}/lib/gnome-initial-setup/vendor.conf
%changelog
* Fri Feb 16 2018 Michael Catanzaro <mcatanzaro@gnome.org> - 3.27.90-2
- Install vendor.conf to conditionally suppress certain pages
* Fri Feb 16 2018 Michael Catanzaro <mcatanzaro@gnome.org> - 3.27.90-1
- Upgrade to 3.27.90 and add reduce initial setup redundancy patches

2
vendor.conf Normal file
View File

@ -0,0 +1,2 @@
[new user]
skip=language;keyboard;timezone