1 |
# $Id: e-smith-grub.spec,v 1.9 2016/07/25 12:40:10 unnilennium Exp $ |
# $Id: e-smith-grub.spec,v 1.16 2021/02/20 17:15:01 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 4 |
%define release 11 |
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 |
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 |
|
Patch6: e-smith-grub-2.6.1-bz11559-setlocale-in-manager.patch |
25 |
|
|
26 |
Requires: e-smith-lib >= 1.15.3-17 |
Requires: e-smith-lib >= 1.15.3-17 |
27 |
Requires: grub2 |
Requires: grub2 |
28 |
Provides: system-logos |
Provides: system-logos |
32 |
AutoReqProv: no |
AutoReqProv: no |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Fri Apr 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.1-11.sme |
36 |
|
- set missing locale if update-grub called by server-manager [SME: 11559] |
37 |
|
|
38 |
|
* Sat Feb 20 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-10.sme |
39 |
|
- fix unable to boot on a non xfs root filesystem [SME: 11365] |
40 |
|
|
41 |
|
* Thu Feb 18 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-9.sme |
42 |
|
- cleanup remove /boot/grub dir [SME: 11354] |
43 |
|
|
44 |
|
* Wed Jan 17 2021 Chris Sansom-Ninnes <chris@sansom.ninnes.net> 2.6.1-8.sme |
45 |
|
- Add support for EFI systems [SME: 10998] |
46 |
|
|
47 |
|
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-7.sme |
48 |
|
- add update event [SME: 11137] |
49 |
|
|
50 |
|
* Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-6.sme |
51 |
|
- rebuild for file ownership conflict [SME: 10325] |
52 |
|
|
53 |
|
* Thu May 11 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-5.sme |
54 |
|
- fix edition and consol grub terminal not visible because of koozali logo [SME: 9728] |
55 |
|
|
56 |
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-4.sme |
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-4.sme |
57 |
- enable quota for groups and users with XFS [SME: 10211] |
- enable quota for groups and users with XFS [SME: 10211] |
58 |
|
|
240 |
|
|
241 |
%prep |
%prep |
242 |
%setup |
%setup |
243 |
cp %{SOURCE1} root/boot/grub |
mkdir -p root/boot/grub2/themes |
244 |
|
cp %{SOURCE1} root/boot/grub2 |
245 |
|
%setup -T -D -a 2 |
246 |
|
mv koozali root/boot/grub2/themes/ |
247 |
%patch0 -p1 |
%patch0 -p1 |
248 |
%patch1 -p1 |
%patch1 -p1 |
249 |
|
%patch2 -p1 |
250 |
|
%patch3 -p1 |
251 |
|
%patch4 -p1 |
252 |
|
rm -rf root/boot/grub |
253 |
|
%patch5 -p1 |
254 |
|
%patch6 -p1 |
255 |
|
|
256 |
%build |
%build |
257 |
perl createlinks |
perl createlinks |