1 |
# $Id: e-smith-grub.spec,v 1.7 2016/06/15 20:55:20 stephdl Exp $ |
# $Id: e-smith-grub.spec,v 1.15 2021/02/19 04:24:52 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith module to configure grub2 |
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.1 |
%define version 2.6.1 |
7 |
%define release 2 |
%define release 10 |
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: smeserver10.png |
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 |
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 |
|
Patch5: e-smith-grub-2.6.1-bz11365-unabletobootext4rootfs.patch |
24 |
|
|
25 |
Requires: e-smith-lib >= 1.15.3-17 |
Requires: e-smith-lib >= 1.15.3-17 |
26 |
Requires: grub2 |
Requires: grub2 |
27 |
Provides: system-logos |
Provides: system-logos |
31 |
AutoReqProv: no |
AutoReqProv: no |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Sat Feb 20 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-10.sme |
35 |
|
- fix unable to boot on a non xfs root filesystem [SME: 11365] |
36 |
|
|
37 |
|
* Thu Feb 18 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-9.sme |
38 |
|
- cleanup remove /boot/grub dir [SME: 11354] |
39 |
|
|
40 |
|
* Wed Jan 17 2021 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.1-8.sme |
41 |
|
- Add support for EFI systems [SME: 10998] |
42 |
|
|
43 |
|
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-7.sme |
44 |
|
- add update event [SME: 11137] |
45 |
|
|
46 |
|
* Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-6.sme |
47 |
|
- rebuild for file ownership conflict [SME: 10325] |
48 |
|
|
49 |
|
* Thu May 11 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-5.sme |
50 |
|
- fix edition and consol grub terminal not visible because of koozali logo [SME: 9728] |
51 |
|
|
52 |
|
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-4.sme |
53 |
|
- enable quota for groups and users with XFS [SME: 10211] |
54 |
|
|
55 |
|
* Mon Jul 25 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-3.sme |
56 |
|
- Koozali grub splash screen |
57 |
|
|
58 |
* Sat Jul 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-2.sme |
* Sat Jul 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-2.sme |
59 |
- Write the full path for the grub Action [SME: 9668] |
- Write the full path for the grub Action [SME: 9668] |
60 |
- Added e-smith-grub-2.6.1.bz9668.AddFullPath2GrubAction.patch |
- Added e-smith-grub-2.6.1.bz9668.AddFullPath2GrubAction.patch |
236 |
|
|
237 |
%prep |
%prep |
238 |
%setup |
%setup |
239 |
cp %{SOURCE1} root/boot/grub |
mkdir -p root/boot/grub2/themes |
240 |
|
cp %{SOURCE1} root/boot/grub2 |
241 |
|
%setup -T -D -a 2 |
242 |
|
mv koozali root/boot/grub2/themes/ |
243 |
%patch0 -p1 |
%patch0 -p1 |
244 |
|
%patch1 -p1 |
245 |
|
%patch2 -p1 |
246 |
|
%patch3 -p1 |
247 |
|
%patch4 -p1 |
248 |
|
rm -rf root/boot/grub |
249 |
|
%patch5 -p1 |
250 |
|
|
251 |
%build |
%build |
252 |
perl createlinks |
perl createlinks |