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