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