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