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