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