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