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