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