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