1 |
# $Id: e-smith-grub.spec,v 1.7 2016/06/15 20:55:20 stephdl Exp $ |
2 |
|
3 |
Summary: e-smith module to configure grub2 |
4 |
%define name e-smith-grub |
5 |
Name: %{name} |
6 |
%define version 2.6.1 |
7 |
%define release 2 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Source1: smeserver10.png |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildRequires: e-smith-devtools |
16 |
BuildArchitectures: noarch |
17 |
Patch0: e-smith-grub-2.6.1.bz9668.AddFullPath2GrubAction.patch |
18 |
Requires: e-smith-lib >= 1.15.3-17 |
19 |
Requires: grub2 |
20 |
Provides: system-logos |
21 |
Obsoletes: e-smith-lilo |
22 |
Provides: e-smith-bootloader |
23 |
Obsoletes: lilo |
24 |
AutoReqProv: no |
25 |
|
26 |
%changelog |
27 |
* Sat Jul 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-2.sme |
28 |
- Write the full path for the grub Action [SME: 9668] |
29 |
- Added e-smith-grub-2.6.1.bz9668.AddFullPath2GrubAction.patch |
30 |
|
31 |
* Wed Jun 15 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-1.sme |
32 |
- New source [SME: 9321] |
33 |
|
34 |
* Tue Jun 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
35 |
- Adaptation to grub2 [SME: 9321] |
36 |
|
37 |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
38 |
- rebuild for Bug [SME: 9347] |
39 |
|
40 |
* Fri Mar 18 2016 JP Pialasse <tests@pialasse.com> 2.6.0-2.sme |
41 |
- fix Requires grub2 [SME: 9320] |
42 |
|
43 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
44 |
- Initial release to sme10 |
45 |
|
46 |
* Wed Jan 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-4.sme |
47 |
- Remove motd text from grub.cfg [SME: 9161] |
48 |
|
49 |
* Fri Mar 1 2013 Shad L. Lords <slords@mail.com> 2.4.0-3.sme |
50 |
- Revert previous rhgb patch and disable plymouth [SME: 7354] |
51 |
|
52 |
* Tue Feb 19 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
53 |
- Remove rhgb option from grub [SME: 7354] |
54 |
|
55 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
56 |
- Roll new stream for sme9 |
57 |
|
58 |
* Wed Nov 4 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme |
59 |
- Remove hiddenmenu entry from grub.conf [SME: 5546] |
60 |
|
61 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
62 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
63 |
|
64 |
* Fri Mar 21 2008 Shad L. Lords <slords@mail.com> 1.0.0-7 |
65 |
- Fix up CentOS titles in grub.conf [SME: 4084] |
66 |
|
67 |
* Fri Jul 13 2007 Shad L. Lords <slords@mail.com> 1.0.0-6 |
68 |
- Add smeserver splash screen for grub [SME: 3152] |
69 |
|
70 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
71 |
- Clean up spec so package can be built by koji/plague |
72 |
|
73 |
* Thu Jan 04 2007 Shad L. Lords <slords@mail.com> 1.0.0-5 |
74 |
- Update /etc/sysconfig/kernel on boot too. [SME: 1930] |
75 |
|
76 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
77 |
- Update to new release naming. No functional changes. |
78 |
- Make Packager generic |
79 |
|
80 |
* Tue Dec 05 2006 Shad L. Lords <slords@mail.com> 1.0.0-03 |
81 |
- Remove grub-install-raid completely as it doesn't handle more |
82 |
than raid1 [SME: 2131] |
83 |
|
84 |
* Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-02 |
85 |
- Rebuild without the test release tag [SME: 1197] |
86 |
|
87 |
* Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-01test01 |
88 |
- Remove grub-install-raid from post-{install,upgrade} [SME: 1197] |
89 |
|
90 |
* Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-01 |
91 |
- Roll stable stream version. [SME: 1016] |
92 |
|
93 |
* Wed Feb 8 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-24 |
94 |
- Add --no-floppy to the grub --batch calls. Systems with the |
95 |
floppy controller enabled but no floppy drive installed "hang" |
96 |
in post-upgrade otherwise. [SME: 696] |
97 |
|
98 |
* Mon Jan 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-23 |
99 |
- Re-add call to grub-install-raid in post-upgrade [SME: 151] |
100 |
|
101 |
* Mon Jan 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-22 |
102 |
- Add --no-floppy to grub-install call in grub-install-raid [SME: 151] |
103 |
- Don't call grub-install-raid in post-upgrade, only post-install [SME: 151] |
104 |
- Cleaned up old comments in grub-install-raid |
105 |
|
106 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-21 |
107 |
- Bump release number only |
108 |
|
109 |
* Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com> |
110 |
- [0.0.1-20] |
111 |
- Add defined test on $EVENT for cleanliness [MN00106104] |
112 |
|
113 |
* Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com> |
114 |
- [0.0.1-19] |
115 |
- Only update default kernel choice in the local event [MN00106104] |
116 |
- Update dependency on e-smith-lib to require version of |
117 |
generic_template_expand which sets EVENT in the template hash |
118 |
|
119 |
* Sun Nov 13 2005 Gordon Rowell <gordonr@e-smith.com> |
120 |
- [0.0.1-18] |
121 |
- Correct path in last fix [SF: 1335937] |
122 |
|
123 |
* Mon Oct 24 2005 Charlie Brady <charlieb@e-smith.com> |
124 |
- [0.0.1-17] |
125 |
- Create "update-bootloader" symlink in /sbin/e-smith, for use by add_mirror |
126 |
script. Add "Provides: e-smith-bootloader", so that e-smith-base can add |
127 |
a generic "Requires:". [SF: 1335937] |
128 |
|
129 |
* Fri Oct 21 2005 Charlie Brady <charlieb@e-smith.com> |
130 |
- [0.0.1-16] |
131 |
- Expand grub.conf template in post-install and post-upgrade, to correct |
132 |
errant hd1,0 references. [SF: 1233029] |
133 |
|
134 |
* Fri Oct 21 2005 Charlie Brady <charlieb@e-smith.com> |
135 |
- [0.0.1-15] |
136 |
- Fix errant hd1,0 references in /boot/grub/grub.conf. This is just a |
137 |
workaround - we should be able to fix anaconda/booty so that they never |
138 |
appear. Tidy up UpdateDefault while we are here. [SF: 1233029] |
139 |
- Update grub-install-raid so that it runs grub for each disk, with each |
140 |
device set as hd0. [SF: 1233029] |
141 |
|
142 |
* Mon Oct 17 2005 Gordon Rowell <gordonr@e-smith.com> |
143 |
- [0.0.1-14] |
144 |
- Typo in grub-install-raid log output [MN00100874, SF: 1233029] |
145 |
|
146 |
* Mon Oct 17 2005 Gordon Rowell <gordonr@e-smith.com> |
147 |
- [0.0.1-13] |
148 |
- Add grub-install-raid action to force to install onto a RAID1 set |
149 |
[MN00100874, SF: 1233029] |
150 |
|
151 |
* Mon Sep 19 2005 Charlie Brady <charlieb@e-smith.com> |
152 |
- [0.0.1-12] |
153 |
- Preserve current default setting in grub.conf template if |
154 |
none of the available kernels matches the currently running |
155 |
kernel. This will allow anaconda SMP detection to determine |
156 |
initial boot setting. [MN00097833] |
157 |
|
158 |
* Tue Aug 30 2005 Charlie Brady <charlieb@e-smith.com> |
159 |
- [0.0.1-11] |
160 |
- Move splashscreen symlink into e-smith-support RPM. |
161 |
|
162 |
* Wed Jul 13 2005 Charlie Brady <charlieb@e-smith.com> |
163 |
- [0.0.1-10] |
164 |
- Obsolete lilo RPM, so that it is removed on upgrade. [SF: 1232519] |
165 |
|
166 |
* Tue Jul 5 2005 Charlie Brady <charlieb@e-smith.com> |
167 |
- [0.0.1-09] |
168 |
- Obsolete e-smith-lilo RPM. [SF: 1232519] |
169 |
|
170 |
* Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com> |
171 |
- [0.0.1-08] |
172 |
- Move grub.conf template.metadata file a well. [SF: 1226839] |
173 |
|
174 |
* Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com> |
175 |
- [0.0.1-07] |
176 |
- Template /boot/grub/grub.conf, not /etc/grub.conf. [SF: 1226839] |
177 |
|
178 |
* Mon Jun 13 2005 Charlie Brady <charlieb@e-smith.com> |
179 |
- [0.0.1-06] |
180 |
- Add "Provides: system-logos" to satisfy grub dependency. |
181 |
|
182 |
* Mon Jun 13 2005 Charlie Brady <charlieb@e-smith.com> |
183 |
- [0.0.1-05] |
184 |
- Add linuxinside splashscreen. |
185 |
|
186 |
* Mon Jun 13 2005 Charlie Brady <charlieb@e-smith.com> |
187 |
- [0.0.1-04] |
188 |
- Add tux splashscreen, and use it for grub config. |
189 |
|
190 |
* Wed Jun 8 2005 Charlie Brady <charlieb@e-smith.com> |
191 |
- [0.0.1-03] |
192 |
- Add missing template.metadata file to strip blank lines from |
193 |
grub.conf file. |
194 |
|
195 |
* Tue Jun 7 2005 Charlie Brady <charlieb@e-smith.com> |
196 |
- [0.0.1-02] |
197 |
- Fix grub.conf template expansion. |
198 |
- Put splash.xpm.gz in correct place. |
199 |
|
200 |
* Mon Jun 06 2005 Charlie Brady <charlieb@e-smith.com> |
201 |
- initial release |
202 |
|
203 |
%description |
204 |
e-smith server enhancement to grub bootloader. |
205 |
|
206 |
%prep |
207 |
%setup |
208 |
cp %{SOURCE1} root/boot/grub |
209 |
%patch0 -p1 |
210 |
|
211 |
%build |
212 |
perl createlinks |
213 |
|
214 |
%install |
215 |
rm -rf $RPM_BUILD_ROOT |
216 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
217 |
rm -f %{name}-%{version}-filelist |
218 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
219 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
220 |
|
221 |
%clean |
222 |
rm -rf $RPM_BUILD_ROOT |
223 |
|
224 |
%files -f %{name}-%{version}-filelist |
225 |
%defattr(-,root,root) |
226 |
|