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