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