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