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