diff --git a/SOURCES/0008-Add-a-README-1194155.patch b/SOURCES/0008-Add-a-README-1194155.patch new file mode 100644 index 0000000..6b4ec8b --- /dev/null +++ b/SOURCES/0008-Add-a-README-1194155.patch @@ -0,0 +1,56 @@ +From 6bf8a942bfd0cebbef55e17531382a0e2746eef0 Mon Sep 17 00:00:00 2001 +From: Martin Kolman +Date: Mon, 15 Jun 2015 16:48:24 +0200 +Subject: [PATCH] Add a README (#1194155) + +Add a short readme that contains instructions on how to re-enable +Firstboot and a deprecation notice. The deprecation notice includes +links to Firstboot plugin -> Anaconda/Initial Setup addon porting +resources. + +Resolves: rhbz#1194155 +--- + MANIFEST.in | 2 +- + README.txt | 20 ++++++++++++++++++++ + 2 files changed, 21 insertions(+), 1 deletion(-) + create mode 100644 README.txt + +diff --git a/MANIFEST.in b/MANIFEST.in +index 2723803..26babb5 100644 +--- a/MANIFEST.in ++++ b/MANIFEST.in +@@ -1,4 +1,4 @@ +-include Makefile firstboot.spec ++include Makefile firstboot.spec README.txt + recursive-include init firstboot + recursive-include po *.po *.pot Makefile + recursive-include progs firstboot +diff --git a/README.txt b/README.txt +new file mode 100644 +index 0000000..0693910 +--- /dev/null ++++ b/README.txt +@@ -0,0 +1,20 @@ ++== How to re-enable Firstboot after first boot == ++To re-enable Firstboot, you need to do the following: ++ ++ 1. rm /etc/sysconfig/firstboot ++ 2. systemctl enable firstboot-graphical.service ++ ++NOTE: /etc/reconfigSys is now (RHEL7) ignored. ++ ++== Advisory to porting Firstboot plugins == ++ ++The legacy Firstboot tool is no longer in development and all current Firstboot users are advised to port their legacy Firstboot plugins to Anaconda addons, which don't have most of the limitations imposed by the Firstboot architecture. Also unlike Firstboot plugins, Anaconda addons can be run both of during installation (by Anaconda), and after installation (by Initial Setup). ++ ++A comprehensive Anaconda Addon Development Guide is available: ++http://rhinstaller.github.io/anaconda-addon-development-guide/ ++ ++As well as an example "Hello world" addon: ++https://github.com/rhinstaller/hello-world-anaconda-addon ++ ++Also the Kdump project recently successfully made the transition from a Firstboot plugin to an Anaconda addon and could be used as good reference example for a more advanced addon project: ++https://github.com/daveyoung/kdump-anaconda-addon +-- +2.4.2 + diff --git a/SPECS/firstboot.spec b/SPECS/firstboot.spec index b9b2f09..aefe253 100644 --- a/SPECS/firstboot.spec +++ b/SPECS/firstboot.spec @@ -4,7 +4,7 @@ Summary: Initial system configuration utility Name: firstboot URL: http://fedoraproject.org/wiki/FirstBoot Version: 19.9 -Release: 8%{?dist} +Release: 10%{?dist} # This is a Red Hat maintained package which is specific to # our distribution. Thus the source is only available from # within this srpm. @@ -24,6 +24,8 @@ Patch5: 0005-Use-smaller-title-text-size-so-that-it-fits-on-the-s.patch Patch6: 0006-Fix-exception-handler-952633.patch # fix startup scripts for the s390 Patch7: 0007-Fix-the-Firstboot-startup-scripts-for-the-s390-11806.patch +# add a README +Patch8: 0008-Add-a-README-1194155.patch License: GPLv2+ Group: System Environment/Base @@ -60,6 +62,7 @@ a series of steps that allows for easier configuration of the machine. %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build @@ -99,6 +102,7 @@ fi %files -f %{name}.lang %defattr(-,root,root,-) +%doc README.txt %dir %{_datadir}/firstboot/ %dir %{_datadir}/firstboot/modules/ %dir %{_datadir}/firstboot/themes/ @@ -115,6 +119,14 @@ fi %changelog +* Wed Jun 17 2015 Martin Kolman 19.9-10 +- Make sure the README file is properly installed (#1194155) (mkolman) + Resolves: rhbz#1194155 + +* Wed Jun 17 2015 Martin Kolman 19.9-9 +- Add a README (#1194155) (mkolman) + Resolves: rhbz#1194155 + * Tue Jan 13 2015 Martin Kolman 19.9-8 - Fix the Firstboot startup scripts for the s390 (#1180616) (jstodola) Resolves: rhbz#1180616