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