1 |
# $Id: e-smith-grub.spec,v 1.3 2016/03/18 14:09:31 unnilennium Exp $ |
# $Id: e-smith-grub.spec,v 1.11 2017/05/11 00:02:49 unnilennium Exp $ |
2 |
|
|
3 |
Summary: e-smith module to configure grub |
Summary: e-smith module to configure grub2 |
4 |
%define name e-smith-grub |
%define name e-smith-grub |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.1 |
7 |
%define release 3 |
%define release 6 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Source1: smeserver.xpm.gz |
Source1: smeserver10.png |
14 |
|
Source2: koozali.tar.xz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
|
Patch0: e-smith-grub-2.6.1.bz9668.AddFullPath2GrubAction.patch |
19 |
|
Patch1: e-smith-grub-2.6.0-bz10211-enableXFSquota.patch |
20 |
|
Patch2: e-smith-grub-2.6.1.bz9728.AddGrubThemeKoozali.patch |
21 |
|
|
22 |
Requires: e-smith-lib >= 1.15.3-17 |
Requires: e-smith-lib >= 1.15.3-17 |
23 |
Requires: grub2 |
Requires: grub2 |
24 |
Provides: system-logos |
Provides: system-logos |
28 |
AutoReqProv: no |
AutoReqProv: no |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-6.sme |
32 |
|
- rebuild for file ownership conflict [SME: 10325] |
33 |
|
|
34 |
|
* Thu May 11 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-5.sme |
35 |
|
- fix edition and consol grub terminal not visible because of koozali logo [SME: 9728] |
36 |
|
|
37 |
|
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-4.sme |
38 |
|
- enable quota for groups and users with XFS [SME: 10211] |
39 |
|
|
40 |
|
* Mon Jul 25 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-3.sme |
41 |
|
- Koozali grub splash screen |
42 |
|
|
43 |
|
* Sat Jul 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-2.sme |
44 |
|
- Write the full path for the grub Action [SME: 9668] |
45 |
|
- Added e-smith-grub-2.6.1.bz9668.AddFullPath2GrubAction.patch |
46 |
|
|
47 |
|
* Wed Jun 15 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-1.sme |
48 |
|
- New source [SME: 9321] |
49 |
|
|
50 |
|
* Tue Jun 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
51 |
|
- Adaptation to grub2 [SME: 9321] |
52 |
|
|
53 |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
54 |
- rebuild for Bug [SME: 9347] |
- rebuild for Bug [SME: 9347] |
55 |
|
|
221 |
|
|
222 |
%prep |
%prep |
223 |
%setup |
%setup |
224 |
cp %{SOURCE1} root/boot/grub/ |
mkdir -p root/boot/grub2/themes |
225 |
|
cp %{SOURCE1} root/boot/grub2 |
226 |
|
%setup -T -D -a 2 |
227 |
|
mv koozali root/boot/grub2/themes/ |
228 |
|
%patch0 -p1 |
229 |
|
%patch1 -p1 |
230 |
|
%patch2 -p1 |
231 |
|
|
232 |
%build |
%build |
233 |
perl createlinks |
perl createlinks |
|
mkdir -p root/etc/e-smith/events/local/templates2expand/etc/sysconfig |
|
|
touch root/etc/e-smith/events/local/templates2expand/etc/sysconfig/kernel |
|
234 |
|
|
235 |
%install |
%install |
236 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |