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