1 |
# $Id: e-smith-grub.spec,v 1.3 2016/03/18 14:09:31 unnilennium Exp $ |
# $Id: e-smith-grub.spec,v 1.14 2021/02/17 22:49:44 chrissn 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 9 |
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 |
|
Patch3: e-smith-grub-2.6.1-bz11137-update.patch |
22 |
|
Patch4: e-smith-grub-2.6.1-efi.patch |
23 |
|
|
24 |
Requires: e-smith-lib >= 1.15.3-17 |
Requires: e-smith-lib >= 1.15.3-17 |
25 |
Requires: grub2 |
Requires: grub2 |
26 |
Provides: system-logos |
Provides: system-logos |
30 |
AutoReqProv: no |
AutoReqProv: no |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Thu Feb 18 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-9.sme |
34 |
|
- cleanup remove /boot/grub dir [SME: 11354] |
35 |
|
|
36 |
|
* Wed Jan 17 2021 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.1-8.sme |
37 |
|
- Add support for EFI systems [SME: 10998] |
38 |
|
|
39 |
|
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-7.sme |
40 |
|
- add update event [SME: 11137] |
41 |
|
|
42 |
|
* Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-6.sme |
43 |
|
- rebuild for file ownership conflict [SME: 10325] |
44 |
|
|
45 |
|
* Thu May 11 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-5.sme |
46 |
|
- fix edition and consol grub terminal not visible because of koozali logo [SME: 9728] |
47 |
|
|
48 |
|
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-4.sme |
49 |
|
- enable quota for groups and users with XFS [SME: 10211] |
50 |
|
|
51 |
|
* Mon Jul 25 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-3.sme |
52 |
|
- Koozali grub splash screen |
53 |
|
|
54 |
|
* Sat Jul 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-2.sme |
55 |
|
- Write the full path for the grub Action [SME: 9668] |
56 |
|
- Added e-smith-grub-2.6.1.bz9668.AddFullPath2GrubAction.patch |
57 |
|
|
58 |
|
* Wed Jun 15 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-1.sme |
59 |
|
- New source [SME: 9321] |
60 |
|
|
61 |
|
* Tue Jun 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
62 |
|
- Adaptation to grub2 [SME: 9321] |
63 |
|
|
64 |
* 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 |
65 |
- rebuild for Bug [SME: 9347] |
- rebuild for Bug [SME: 9347] |
66 |
|
|
232 |
|
|
233 |
%prep |
%prep |
234 |
%setup |
%setup |
235 |
cp %{SOURCE1} root/boot/grub/ |
mkdir -p root/boot/grub2/themes |
236 |
|
cp %{SOURCE1} root/boot/grub2 |
237 |
|
%setup -T -D -a 2 |
238 |
|
mv koozali root/boot/grub2/themes/ |
239 |
|
%patch0 -p1 |
240 |
|
%patch1 -p1 |
241 |
|
%patch2 -p1 |
242 |
|
%patch3 -p1 |
243 |
|
%patch4 -p1 |
244 |
|
rm -rf root/boot/grub |
245 |
|
|
246 |
%build |
%build |
247 |
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 |
|
248 |
|
|
249 |
%install |
%install |
250 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |