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