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